mirror of
https://github.com/phpbb/phpbb.git
synced 2025-10-12 07:24:31 +02:00
$auth-> to phpbb::$acl->
git-svn-id: file:///svn/phpbb/trunk@9335 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -558,7 +558,7 @@ function mcp_move_topic($topic_ids)
|
||||
{
|
||||
$additional_msg = phpbb::$user->lang['FORUM_NOT_POSTABLE'];
|
||||
}
|
||||
else if (!$auth->acl_get('f_post', $to_forum_id))
|
||||
else if (!phpbb::$acl->acl_get('f_post', $to_forum_id))
|
||||
{
|
||||
$additional_msg = phpbb::$user->lang['USER_CANNOT_POST'];
|
||||
}
|
||||
@@ -956,7 +956,7 @@ function mcp_fork_topic($topic_ids)
|
||||
{
|
||||
$additional_msg = phpbb::$user->lang['FORUM_NOT_POSTABLE'];
|
||||
}
|
||||
else if (!$auth->acl_get('f_post', $to_forum_id))
|
||||
else if (!phpbb::$acl->acl_get('f_post', $to_forum_id))
|
||||
{
|
||||
$additional_msg = phpbb::$user->lang['USER_CANNOT_POST'];
|
||||
}
|
||||
|
Reference in New Issue
Block a user