]> git.pld-linux.org Git - packages/dokuwiki.git/blame - dokuwiki-notify-respect-minor.patch
- migrate to apache 2.4
[packages/dokuwiki.git] / dokuwiki-notify-respect-minor.patch
CommitLineData
82008d57
ER
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?
c4df8b0c
ER
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.156686 seconds and 4 git commands to generate.