]> git.pld-linux.org Git - packages/dokuwiki.git/blobdiff - dokuwiki-notify-respect-minor.patch
still old deprecated wrappers, some plugins still have addInitEvent() calls
[packages/dokuwiki.git] / dokuwiki-notify-respect-minor.patch
index 114436e04cb2aea98a89d8c52b3fc415f3c8c0fb..47579bbc86a04f5e52f71fe652614dc874f56bde 100644 (file)
@@ -1,10 +1,10 @@
---- dokuwiki-rc2010-10-07/inc/common.php~      2010-10-07 21:27:15.000000000 +0300
-+++ dokuwiki-rc2010-10-07/inc/common.php       2010-10-07 21:28:01.732549375 +0300
-@@ -1073,6 +1073,7 @@
-     // decide if there is something to do
-     if($who == 'admin'){
-         if(empty($conf['notify'])) return; //notify enabled?
+--- dokuwiki-2013-02-01/inc/common.php~        2013-01-28 00:59:02.000000000 +0200
++++ dokuwiki-2013-02-01/inc/common.php 2013-02-01 01:29:08.204212401 +0200
+@@ -1110,6 +1110,7 @@
+     // decide if there is something to do, eg. whom to mail
+     if($who == 'admin') {
+         if(empty($conf['notify'])) return false; //notify enabled?
 +        if($conf['useacl'] && $_SERVER['REMOTE_USER'] && $minor) return; //skip minors
-         $text = rawLocale('mailtext');
-         $to   = $conf['notify'];
-         $bcc  = '';
+         $tpl = 'mailtext';
+         $to  = $conf['notify'];
+     } elseif($who == 'subscribers') {
This page took 0.17831 seconds and 4 git commands to generate.