]> git.pld-linux.org Git - packages/dokuwiki.git/blame - dokuwiki-notify-respect-minor.patch
- up to 2009-01-26 rc
[packages/dokuwiki.git] / dokuwiki-notify-respect-minor.patch
CommitLineData
e79c8784
ER
1--- dokuwiki/inc/common.php~ 2007-06-26 21:27:15.000000000 +0300
2+++ dokuwiki/inc/common.php 2008-02-25 20:39:15.516789317 +0200
3@@ -831,6 +831,7 @@
4 // decide if there is something to do
5 if($who == 'admin'){
6 if(empty($conf['notify'])) return; //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.04725 seconds and 4 git commands to generate.