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/functions_user.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/functions_user.php')
-rw-r--r-- | phpBB/includes/functions_user.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index e091c796d2..96f9b75964 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -678,7 +678,7 @@ function user_ban($mode, $ban, $ban_len, $ban_len_other, $ban_exclude, $ban_reas } else { - trigger_error($user->lang['LENGTH_BAN_INVALID']); + trigger_error('LENGTH_BAN_INVALID'); } } } @@ -730,11 +730,11 @@ function user_ban($mode, $ban, $ban_len, $ban_len_other, $ban_exclude, $ban_reas $clean_name = utf8_clean_string($username); if ($clean_name == $user->data['username_clean']) { - trigger_error($user->lang['CANNOT_BAN_YOURSELF']); + trigger_error('CANNOT_BAN_YOURSELF'); } if (in_array($clean_name, $founder_names)) { - trigger_error($user->lang['CANNOT_BAN_FOUNDER']); + trigger_error('CANNOT_BAN_FOUNDER'); } $sql_usernames[] = $clean_name; } @@ -743,7 +743,7 @@ function user_ban($mode, $ban, $ban_len, $ban_len_other, $ban_exclude, $ban_reas // Make sure we have been given someone to ban if (!sizeof($sql_usernames)) { - trigger_error($user->lang['NO_USER_SPECIFIED']); + trigger_error('NO_USER_SPECIFIED'); } $sql = 'SELECT user_id @@ -772,7 +772,7 @@ function user_ban($mode, $ban, $ban_len, $ban_len_other, $ban_exclude, $ban_reas } else { - trigger_error($user->lang['NO_USERS']); + trigger_error('NO_USERS'); } $db->sql_freeresult($result); } |