]> git.pld-linux.org Git - packages/dokuwiki.git/commitdiff
notifyNS for subscription
authorElan Ruusamäe <glen@delfi.ee>
Mon, 30 Jul 2012 15:08:34 +0000 (18:08 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 30 Jul 2012 15:08:34 +0000 (18:08 +0300)
dokuwiki-notifyns.patch

index e153c7dc9d545f7e5601c986deb77d3764296343..cf98939f51f3f77a378fadbf7b976e3e2db1fcd5 100644 (file)
      $mail->subject($lang['mail_upload'].' '.$id);
      $mail->setBody($text,$trep);
      return $mail->send();
+--- dokuwiki/./inc/subscription.php~   2012-07-29 13:25:32.000000000 +0300
++++ dokuwiki/./inc/subscription.php    2012-07-30 18:02:34.710521495 +0300
+@@ -289,7 +289,8 @@
+             if ($info === false) continue;
+             $level = auth_aclcheck($id, $sub[0], $info['grps']);
+             if ($level >= AUTH_READ) {
+-                if (strcasecmp($info['mail'], $conf['notify']) != 0) {
++                $notify = notifyNS($id, $conf['notify']);
++                if (strcasecmp($info['mail'], $notify) != 0) {
+                     $emails[$sub[0]] =  $info['mail'];
+                 }
+             }
This page took 0.102179 seconds and 4 git commands to generate.