mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Cleaning up (#13689)
Also removed the useless login box from the ACP. git-svn-id: file:///svn/phpbb/trunk@7919 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -129,14 +129,14 @@ if (!$auth->acl_getf_global('m_'))
|
||||
|
||||
if (!$allow_user)
|
||||
{
|
||||
trigger_error($user->lang['NOT_AUTHORISED']);
|
||||
trigger_error('NOT_AUTHORISED');
|
||||
}
|
||||
}
|
||||
|
||||
// if the user cannot read the forum he tries to access then we won't allow mcp access either
|
||||
if ($forum_id && !$auth->acl_get('f_read', $forum_id))
|
||||
{
|
||||
trigger_error($user->lang['NOT_AUTHORISED']);
|
||||
trigger_error('NOT_AUTHORISED');
|
||||
}
|
||||
|
||||
if ($forum_id)
|
||||
|
Reference in New Issue
Block a user