From cd52f92def16e676c2458a32d2b8c8f8a7839f06 Mon Sep 17 00:00:00 2001 From: chris Date: Wed, 25 Jan 2006 01:01:25 +0100 Subject: oo auth update - remove legacy auth remnants, add auth->canDo darcs-hash:20060125000125-9b6ab-9853f11e04d8ea93235317fa8137cef079eb2641.gz --- inc/common.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'inc/common.php') 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) { -- cgit v1.2.3