summaryrefslogtreecommitdiff
path: root/inc/infoutils.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-12-03 14:41:04 +0100
committerAndreas Gohr <andi@splitbrain.org>2006-12-03 14:41:04 +0100
commitf8cc712e2ad522d0bd56b9ba3983cd42abf664ad (patch)
treef05652b1c134709880c8bde9b136f25055fffeb6 /inc/infoutils.php
parent4765d61c46935bc95f8f28459004374dfa77797f (diff)
downloadrpg-f8cc712e2ad522d0bd56b9ba3983cd42abf664ad.tar.gz
rpg-f8cc712e2ad522d0bd56b9ba3983cd42abf664ad.tar.bz2
manager user/group
This patch adds support for a manager option as suggested in http://www.freelists.org/archives/dokuwiki/11-2006/msg00314.html darcs-hash:20061203134104-7ad00-72ff6422bbb4f79be325c7e77255e1eee32d0f6b.gz
Diffstat (limited to 'inc/infoutils.php')
-rw-r--r--inc/infoutils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/infoutils.php b/inc/infoutils.php
index 7ca45efeb..a6d0c269e 100644
--- a/inc/infoutils.php
+++ b/inc/infoutils.php
@@ -18,7 +18,7 @@ function checkUpdateMessages(){
global $conf;
global $INFO;
if(!$conf['updatecheck']) return;
- if($conf['useacl'] && $INFO['perm'] < AUTH_ADMIN) return;
+ if($conf['useacl'] && !$INFO['ismanager']) return;
$cf = $conf['cachedir'].'/messages.txt';
$lm = @filemtime($cf);