diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2009-02-22 15:48:29 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-02-22 15:48:29 +0000 |
commit | 95b69cfa7f66e721cea3f8a5d62ad1cb2b822cfc (patch) | |
tree | d603f3dcb7e1a2172478fe0a043cd27be221604f /phpBB/includes/functions_admin.php | |
parent | 794c5749696c9fa2595ed3a1d7c836a0d984e11c (diff) | |
download | forums-95b69cfa7f66e721cea3f8a5d62ad1cb2b822cfc.tar forums-95b69cfa7f66e721cea3f8a5d62ad1cb2b822cfc.tar.gz forums-95b69cfa7f66e721cea3f8a5d62ad1cb2b822cfc.tar.bz2 forums-95b69cfa7f66e721cea3f8a5d62ad1cb2b822cfc.tar.xz forums-95b69cfa7f66e721cea3f8a5d62ad1cb2b822cfc.zip |
$auth-> to phpbb::$acl->
git-svn-id: file:///svn/phpbb/trunk@9335 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r-- | phpBB/includes/functions_admin.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index b648f76cf3..d56e296f32 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -142,10 +142,10 @@ function make_forum_select($select_id = false, $ignore_id = false, $ignore_acl = $right = $row['right_id']; $disabled = false; - if ($acl && !$auth->acl_gets($acl, $row['forum_id'])) + if ($acl && !phpbb::$acl->acl_gets($acl, $row['forum_id'])) { // List permission? - if ($auth->acl_get('f_list', $row['forum_id'])) + if (phpbb::$acl->acl_get('f_list', $row['forum_id'])) { $disabled = true; } @@ -291,7 +291,7 @@ function get_forum_list($acl_list = 'f_list', $id_only = true, $postable_only = continue; } - if ($acl_list == '' || ($acl_list != '' && $auth->acl_gets($acl_list, $row['forum_id']))) + if ($acl_list == '' || ($acl_list != '' && phpbb::$acl->acl_gets($acl_list, $row['forum_id']))) { $rowset[] = ($id_only) ? $row['forum_id'] : $row; } @@ -2104,7 +2104,7 @@ function cache_moderators() $hold_ary = $ug_id_ary = $sql_ary = array(); // Grab all users having moderative options... - $hold_ary = $auth->acl_user_raw_data(false, 'm_%', false); + $hold_ary = phpbb::$acl->acl_user_raw_data(false, 'm_%', false); // Add users? if (sizeof($hold_ary)) @@ -2185,7 +2185,7 @@ function cache_moderators() } // Now to the groups... - $hold_ary = $auth->acl_group_raw_data(false, 'm_%', false); + $hold_ary = phpbb::$acl->acl_group_raw_data(false, 'm_%', false); if (sizeof($hold_ary)) { @@ -2569,7 +2569,7 @@ function update_foes($group_id = false, $user_id = false) // update foes for everyone $perms = array(); - foreach ($auth->acl_get_list(false, array('a_', 'm_'), false) as $forum_id => $forum_ary) + foreach (phpbb::$acl->acl_get_list(false, array('a_', 'm_'), false) as $forum_id => $forum_ary) { foreach ($forum_ary as $auth_option => $user_ary) { |