mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 02:06:32 +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:
@@ -26,7 +26,7 @@ function mcp_post_details($id, $mode, $action)
|
||||
|
||||
if (!sizeof($post_info))
|
||||
{
|
||||
trigger_error($user->lang['POST_NOT_EXIST']);
|
||||
trigger_error('POST_NOT_EXIST');
|
||||
}
|
||||
|
||||
$post_info = $post_info[$post_id];
|
||||
@@ -79,7 +79,7 @@ function mcp_post_details($id, $mode, $action)
|
||||
|
||||
if (!$row)
|
||||
{
|
||||
trigger_error($user->lang['NO_USER']);
|
||||
trigger_error('NO_USER');
|
||||
}
|
||||
|
||||
if ($auth->acl_get('m_chgposter', $post_info['forum_id']))
|
||||
@@ -473,7 +473,7 @@ function change_poster(&$post_info, $userdata)
|
||||
|
||||
if (!sizeof($post_info))
|
||||
{
|
||||
trigger_error($user->lang['POST_NOT_EXIST']);
|
||||
trigger_error('POST_NOT_EXIST');
|
||||
}
|
||||
|
||||
$post_info = $post_info[$post_id];
|
||||
|
Reference in New Issue
Block a user