]> git.pld-linux.org Git - packages/dokuwiki.git/blob - dokuwiki-notify-respect-minor.patch
still old deprecated wrappers, some plugins still have addInitEvent() calls
[packages/dokuwiki.git] / dokuwiki-notify-respect-minor.patch
1 --- dokuwiki-2013-02-01/inc/common.php~ 2013-01-28 00:59:02.000000000 +0200
2 +++ dokuwiki-2013-02-01/inc/common.php  2013-02-01 01:29:08.204212401 +0200
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          $tpl = 'mailtext';
9          $to  = $conf['notify'];
10      } elseif($who == 'subscribers') {
This page took 0.023855 seconds and 3 git commands to generate.