]> git.pld-linux.org Git - packages/dokuwiki.git/blob - dokuwiki-notify-respect-minor.patch
- migrate to apache 2.4
[packages/dokuwiki.git] / dokuwiki-notify-respect-minor.patch
1 --- dokuwiki-2012-07-08/inc/common.php~ 2012-07-07 13:06:48.000000000 +0300
2 +++ dokuwiki-2012-07-08/inc/common.php  2012-07-08 11:23:14.913603122 +0300
3 @@ -1110,6 +1110,7 @@
4      // decide if there is something to do, eg. whom to mail
5      if($who == 'admin') {
6          if(empty($conf['notify'])) return false; //notify enabled?
7 +        if($conf['useacl'] && $_SERVER['REMOTE_USER'] && $minor) return; //skip minors
8          $text = rawLocale('mailtext');
9          $to   = $conf['notify'];
10          $bcc  = '';
This page took 0.067091 seconds and 3 git commands to generate.