mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
$auth-> to phpbb::$acl->
git-svn-id: file:///svn/phpbb/trunk@9335 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -19,7 +19,7 @@ include(PHPBB_ROOT_PATH . 'includes/functions_display.' . PHP_EXT);
|
||||
|
||||
// Start session management
|
||||
phpbb::$user->session_begin();
|
||||
$auth->acl(phpbb::$user->data);
|
||||
phpbb::$acl->init(phpbb::$user->data);
|
||||
phpbb::$user->setup('mcp');
|
||||
|
||||
$forum_id = request_var('f', 0);
|
||||
@@ -77,7 +77,7 @@ $acl_check_ary = array('f_list' => 'POST_NOT_EXIST', 'f_read' => 'USER_CANNOT_RE
|
||||
|
||||
foreach ($acl_check_ary as $acl => $error)
|
||||
{
|
||||
if (!$auth->acl_get($acl, $forum_id))
|
||||
if (!phpbb::$acl->acl_get($acl, $forum_id))
|
||||
{
|
||||
trigger_error($error);
|
||||
}
|
||||
|
Reference in New Issue
Block a user