mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-14 04:34:07 +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:
@@ -669,7 +669,7 @@ switch ($mode)
|
||||
{
|
||||
if (!$auth->acl_get('f_read', $row['forum_id']))
|
||||
{
|
||||
trigger_error($user->lang['SORRY_AUTH_READ']);
|
||||
trigger_error('SORRY_AUTH_READ');
|
||||
}
|
||||
|
||||
if (!$auth->acl_get('f_email', $row['forum_id']))
|
||||
@@ -682,7 +682,7 @@ switch ($mode)
|
||||
// If global announcement, we need to check if the user is able to at least read and email in one forum...
|
||||
if (!$auth->acl_getf_global('f_read'))
|
||||
{
|
||||
trigger_error($user->lang['SORRY_AUTH_READ']);
|
||||
trigger_error('SORRY_AUTH_READ');
|
||||
}
|
||||
|
||||
if (!$auth->acl_getf_global('f_email'))
|
||||
|
Reference in New Issue
Block a user