X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=dokuwiki-notify-respect-minor.patch;h=47579bbc86a04f5e52f71fe652614dc874f56bde;hb=5b9dd55263a1bad56171e30b57fde3394f2a4eaa;hp=114436e04cb2aea98a89d8c52b3fc415f3c8c0fb;hpb=c4df8b0cccc442a9c5c6d2eca29a9e1ad8cf209f;p=packages%2Fdokuwiki.git diff --git a/dokuwiki-notify-respect-minor.patch b/dokuwiki-notify-respect-minor.patch index 114436e..47579bb 100644 --- a/dokuwiki-notify-respect-minor.patch +++ b/dokuwiki-notify-respect-minor.patch @@ -1,10 +1,10 @@ ---- dokuwiki-rc2010-10-07/inc/common.php~ 2010-10-07 21:27:15.000000000 +0300 -+++ dokuwiki-rc2010-10-07/inc/common.php 2010-10-07 21:28:01.732549375 +0300 -@@ -1073,6 +1073,7 @@ - // decide if there is something to do - if($who == 'admin'){ - if(empty($conf['notify'])) return; //notify enabled? +--- dokuwiki-2013-02-01/inc/common.php~ 2013-01-28 00:59:02.000000000 +0200 ++++ dokuwiki-2013-02-01/inc/common.php 2013-02-01 01:29:08.204212401 +0200 +@@ -1110,6 +1110,7 @@ + // decide if there is something to do, eg. whom to mail + if($who == 'admin') { + if(empty($conf['notify'])) return false; //notify enabled? + if($conf['useacl'] && $_SERVER['REMOTE_USER'] && $minor) return; //skip minors - $text = rawLocale('mailtext'); - $to = $conf['notify']; - $bcc = ''; + $tpl = 'mailtext'; + $to = $conf['notify']; + } elseif($who == 'subscribers') {