SOURCES: dokuwiki-notify-respect-minor.patch (NEW) - respect also ...
glen
glen at pld-linux.org
Mon Feb 25 19:46:41 CET 2008
Author: glen Date: Mon Feb 25 18:46:41 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- respect also minor changes for notify
---- Files affected:
SOURCES:
dokuwiki-notify-respect-minor.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/dokuwiki-notify-respect-minor.patch
diff -u /dev/null SOURCES/dokuwiki-notify-respect-minor.patch:1.1
--- /dev/null Mon Feb 25 19:46:41 2008
+++ SOURCES/dokuwiki-notify-respect-minor.patch Mon Feb 25 19:46:36 2008
@@ -0,0 +1,10 @@
+--- dokuwiki/inc/common.php~ 2007-06-26 21:27:15.000000000 +0300
++++ dokuwiki/inc/common.php 2008-02-25 20:39:15.516789317 +0200
+@@ -831,6 +831,7 @@
+ // decide if there is something to do
+ if($who == 'admin'){
+ if(empty($conf['notify'])) return; //notify enabled?
++ if($conf['useacl'] && $_SERVER['REMOTE_USER'] && $minor) return; //skip minors
+ $text = rawLocale('mailtext');
+ $to = $conf['notify'];
+ $bcc = '';
================================================================
More information about the pld-cvs-commit
mailing list