diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-11-10 15:03:47 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-11-10 15:03:47 +0000 |
| commit | 74ccfb2ad51e552a65b9e4e7419dc770e55c503e (patch) | |
| tree | aae88ab2dccab900fc71106ce690131668361d75 /phpBB/includes/ucp | |
| parent | eb87d0537affae1470b27c6aa834e865bbcf9cca (diff) | |
| download | forums-74ccfb2ad51e552a65b9e4e7419dc770e55c503e.tar forums-74ccfb2ad51e552a65b9e4e7419dc770e55c503e.tar.gz forums-74ccfb2ad51e552a65b9e4e7419dc770e55c503e.tar.bz2 forums-74ccfb2ad51e552a65b9e4e7419dc770e55c503e.tar.xz forums-74ccfb2ad51e552a65b9e4e7419dc770e55c503e.zip | |
gurgle blurp ... make some more changes, blurp, gurgle, move discover_auth to auth class as acl_get_list method, blurp gurgle blurp
git-svn-id: file:///svn/phpbb/trunk@4661 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp')
| -rw-r--r-- | phpBB/includes/ucp/ucp_profile.php | 2 | ||||
| -rw-r--r-- | phpBB/includes/ucp/ucp_register.php | 2 | ||||
| -rw-r--r-- | phpBB/includes/ucp/ucp_zebra.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/ucp/ucp_profile.php b/phpBB/includes/ucp/ucp_profile.php index 67dcdb0af1..d9038980ae 100644 --- a/phpBB/includes/ucp/ucp_profile.php +++ b/phpBB/includes/ucp/ucp_profile.php @@ -119,7 +119,7 @@ class ucp_profile extends module if ($config['require_activation'] == USER_ACTIVATION_ADMIN) { // Grab an array of user_id's with a_user permissions - $admin_ary = discover_auth(false, 'a_user', false); + $admin_ary = auth::acl_get_list(false, 'a_user', false); $sql = 'SELECT user_id, username, user_email, user_jabber, user_notify_type FROM ' . USERS_TABLE . ' diff --git a/phpBB/includes/ucp/ucp_register.php b/phpBB/includes/ucp/ucp_register.php index 71289be0b0..d50d30e428 100644 --- a/phpBB/includes/ucp/ucp_register.php +++ b/phpBB/includes/ucp/ucp_register.php @@ -258,7 +258,7 @@ class ucp_register extends module { // Grab an array of user_id's with a_user permissions ... these users // can activate a user - $admin_ary = discover_auth(false, 'a_user', false); + $admin_ary = auth::acl_get_list(false, 'a_user', false); $sql = 'SELECT user_id, username, user_email, user_jabber, user_notify_type FROM ' . USERS_TABLE . ' diff --git a/phpBB/includes/ucp/ucp_zebra.php b/phpBB/includes/ucp/ucp_zebra.php index db0a5c8ca8..9807837729 100644 --- a/phpBB/includes/ucp/ucp_zebra.php +++ b/phpBB/includes/ucp/ucp_zebra.php @@ -93,7 +93,7 @@ class ucp_zebra extends module if ($mode == 'foes') { $perms = array(); - foreach (discover_auth($user_id_ary, array('a_', 'm_')) as $forum_id => $forum_ary) + foreach (auth::acl_get_list($user_id_ary, array('a_', 'm_')) as $forum_id => $forum_ary) { foreach ($forum_ary as $auth_option => $user_ary) { |
