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_warn.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_warn.php')
-rwxr-xr-x | phpBB/includes/mcp/mcp_warn.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/includes/mcp/mcp_warn.php b/phpBB/includes/mcp/mcp_warn.php index 16339ddf55..6fd0f52d6f 100755 --- a/phpBB/includes/mcp/mcp_warn.php +++ b/phpBB/includes/mcp/mcp_warn.php @@ -203,19 +203,19 @@ class mcp_warn if (!$user_row) { - trigger_error($user->lang['NO_POST']); + trigger_error('NO_POST'); } // There is no point issuing a warning to ignored users (ie anonymous and bots) if ($user_row['user_type'] == USER_IGNORE) { - trigger_error($user->lang['CANNOT_WARN_ANONYMOUS']); + trigger_error('CANNOT_WARN_ANONYMOUS'); } // Prevent someone from warning themselves if ($user_row['user_id'] == $user->data['user_id']) { - trigger_error($user->lang['CANNOT_WARN_SELF']); + trigger_error('CANNOT_WARN_SELF'); } // Check if there is already a warning for this post to prevent multiple @@ -229,7 +229,7 @@ class mcp_warn if ($row) { - trigger_error($user->lang['ALREADY_WARNED']); + trigger_error('ALREADY_WARNED'); } $user_id = $user_row['user_id']; @@ -325,7 +325,7 @@ class mcp_warn // Prevent someone from warning themselves if ($user_row['user_id'] == $user->data['user_id']) { - trigger_error($user->lang['CANNOT_WARN_SELF']); + trigger_error('CANNOT_WARN_SELF'); } $user_id = $user_row['user_id']; |