diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2007-07-22 14:04:26 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2007-07-22 14:04:26 +0000 |
commit | fcb0c89962242fec72d7ed01c7049601a696e4be (patch) | |
tree | ceb9de55f45604fc5aa55df75dcd69ce0e356f2c /phpBB/includes/mcp/mcp_post.php | |
parent | 61616582628fa1b6e61f5522d3e64c454e66bb5d (diff) | |
download | forums-fcb0c89962242fec72d7ed01c7049601a696e4be.tar forums-fcb0c89962242fec72d7ed01c7049601a696e4be.tar.gz forums-fcb0c89962242fec72d7ed01c7049601a696e4be.tar.bz2 forums-fcb0c89962242fec72d7ed01c7049601a696e4be.tar.xz forums-fcb0c89962242fec72d7ed01c7049601a696e4be.zip |
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
Diffstat (limited to 'phpBB/includes/mcp/mcp_post.php')
-rw-r--r-- | phpBB/includes/mcp/mcp_post.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/mcp/mcp_post.php b/phpBB/includes/mcp/mcp_post.php index dc8733d0a5..698bcc8dd6 100644 --- a/phpBB/includes/mcp/mcp_post.php +++ b/phpBB/includes/mcp/mcp_post.php @@ -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]; |