[packages/dokuwiki] notifyNS for subscription
glen
glen at pld-linux.org
Mon Jul 30 17:09:53 CEST 2012
commit 05acfc6e26fbed3d0a3dd9373bee70a34bd44317
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Jul 30 18:08:34 2012 +0300
notifyNS for subscription
dokuwiki-notifyns.patch | 12 ++++++++++++
1 file changed, 12 insertions(+)
---
diff --git a/dokuwiki-notifyns.patch b/dokuwiki-notifyns.patch
index e153c7d..cf98939 100644
--- a/dokuwiki-notifyns.patch
+++ b/dokuwiki-notifyns.patch
@@ -73,3 +73,15 @@
$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'];
+ }
+ }
More information about the pld-cvs-commit
mailing list