1
0
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:
Henry Sudhof
2007-07-22 14:04:26 +00:00
parent 6161658262
commit fcb0c89962
15 changed files with 35 additions and 41 deletions

View File

@@ -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)