scummvm random work
[patches.git] / darcs-world-read-email.patch
1 --- old-dokuwiki/inc/common.php 2006-12-24 20:18:41.000000000 -0500
2 +++ new-dokuwiki/inc/common.php 2006-12-24 20:18:41.000000000 -0500
3 @@ -824,6 +824,10 @@
4 global $conf;
5 global $INFO;
6
7 + // Only send out notify mails if the page is world readable
8 + if(auth_aclcheck($id,'','') == AUTH_NONE)
9 + return;
10 +
11 // decide if there is something to do
12 if($who == 'admin'){
13 if(empty($conf['notify'])) return; //notify enabled?