]> git.pld-linux.org Git - packages/dokuwiki.git/blame - dokuwiki-notify-respect-minor.patch
uses adldap 4.0.4 internally
[packages/dokuwiki.git] / dokuwiki-notify-respect-minor.patch
CommitLineData
f40adff2
ER
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
82008d57
ER
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 7+ if($conf['useacl'] && $_SERVER['REMOTE_USER'] && $minor) return; //skip minors
f40adff2
ER
8 $tpl = 'mailtext';
9 $to = $conf['notify'];
10 } elseif($who == 'subscribers') {
This page took 0.025459 seconds and 4 git commands to generate.