com web/rmtools: fixed config option name: client/include/PeclExt.php
| From: | Anatol Belski | Date: | Fri, 27 Sep 2013 08:29:47 +0000 |
| Subject: | com web/rmtools: fixed config option name: client/include/PeclExt.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-19158@lists.php.net to get a copy of this message | ||
Commit: 6e61e725570ec6a764b66fb8cd7e46c1e849ce70
Author: Anatol Belski <ab@php.net> Fri, 27 Sep 2013 10:29:47 +0200
Parents: a58487748814c2667c51bb40ebbc4e316a38ef85
Branches: master
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=6e61e725570ec6a764b66fb8cd7e46c1e849ce70
Log:
fixed config option name
Changed paths:
M client/include/PeclExt.php
Diff:
diff --git a/client/include/PeclExt.php b/client/include/PeclExt.php
index 15edae8..5dc34fe 100644
--- a/client/include/PeclExt.php
+++ b/client/include/PeclExt.php
@@ -391,6 +391,7 @@ if (!function_exists('rmtools\combinations')) {
}
}
+ /* XXX this here might be redundant */
if (!$config) {
foreach ($exts as $name => $conf) {
if ($name === $this->name) {
@@ -673,8 +674,9 @@ if (!function_exists('rmtools\combinations')) {
$to = NULL;
$config = $this->getPackageConfig();
+ /* override package.xml */
if ($config) {
- if (isset($config['no_alerts'])) {
+ if (isset($config['no_mail'])) {
return NULL;
}