]> git.pld-linux.org Git - packages/dokuwiki.git/blobdiff - dokuwiki-notify-respect-minor.patch
up to 2018-04-22 "Greebo"
[packages/dokuwiki.git] / dokuwiki-notify-respect-minor.patch
index d2cbd35af16db9d095790319844023b542d8ded2..47579bbc86a04f5e52f71fe652614dc874f56bde 100644 (file)
@@ -1,10 +1,10 @@
---- dokuwiki/inc/common.php~   2007-06-26 21:27:15.000000000 +0300
-+++ dokuwiki/inc/common.php    2008-02-25 20:39:15.516789317 +0200
-@@ -831,6 +831,7 @@
-   // decide if there is something to do
-   if($who == 'admin'){
-     if(empty($conf['notify'])) return; //notify enabled?
-+    if($conf['useacl'] && $_SERVER['REMOTE_USER'] && $minor) return; //skip minors
-     $text = rawLocale('mailtext');
-     $to   = $conf['notify'];
-     $bcc  = '';
+--- 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
+         $tpl = 'mailtext';
+         $to  = $conf['notify'];
+     } elseif($who == 'subscribers') {
This page took 0.131805 seconds and 4 git commands to generate.