diff options
author | chris <chris@jalakai.co.uk> | 2006-01-25 01:01:25 +0100 |
---|---|---|
committer | chris <chris@jalakai.co.uk> | 2006-01-25 01:01:25 +0100 |
commit | cd52f92def16e676c2458a32d2b8c8f8a7839f06 (patch) | |
tree | 07d70db3e87c3dc543a49412e3a2e01d286d27ca /inc/common.php | |
parent | 10ea5c9fe4098c14d01c3e731f45008458de619a (diff) | |
download | rpg-cd52f92def16e676c2458a32d2b8c8f8a7839f06.tar.gz rpg-cd52f92def16e676c2458a32d2b8c8f8a7839f06.tar.bz2 |
oo auth update - remove legacy auth remnants, add auth->canDo
darcs-hash:20060125000125-9b6ab-9853f11e04d8ea93235317fa8137cef079eb2641.gz
Diffstat (limited to 'inc/common.php')
-rw-r--r-- | inc/common.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/common.php b/inc/common.php index b5c29d621..dbd2ed451 100644 --- a/inc/common.php +++ b/inc/common.php @@ -1175,6 +1175,7 @@ function is_subscribed($id,$uid){ */ function subscriber_addresslist($id){ global $conf; + global $auth; $emails = ''; @@ -1188,7 +1189,7 @@ function subscriber_addresslist($id){ if(count($mlist) > 0) { foreach ($mlist as $who) { $who = rtrim($who); - $info = auth_getUserData($who); + $info = $auth->getUserData($who); $level = auth_aclcheck($id,$who,$info['grps']); if ($level >= AUTH_READ) { if (strcasecmp($info['mail'],$conf['notify']) != 0) { |