aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2007-07-25 13:01:23 +0000
committerHenry Sudhof <kellanved@phpbb.com>2007-07-25 13:01:23 +0000
commitd171762bc9fb5d6aedf36fad9d76dd362bdcdc78 (patch)
tree9c1ecf0b0a6c8922413d3f83d03dc634cf68b352 /phpBB/includes/functions_user.php
parent09bdc7297edb4f149c0a340109bc81d1f6444aea (diff)
downloadforums-d171762bc9fb5d6aedf36fad9d76dd362bdcdc78.tar
forums-d171762bc9fb5d6aedf36fad9d76dd362bdcdc78.tar.gz
forums-d171762bc9fb5d6aedf36fad9d76dd362bdcdc78.tar.bz2
forums-d171762bc9fb5d6aedf36fad9d76dd362bdcdc78.tar.xz
forums-d171762bc9fb5d6aedf36fad9d76dd362bdcdc78.zip
small fixes.
#13794 : Raised the used error level by one #13763 : Removed an old Beta2 compatibility fix #13527 : cleaned up the code #13525 : Changed templates as proposed by damnian #11515 : added explanation about CPF checkboxes git-svn-id: file:///svn/phpbb/trunk@7943 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index 35c3ace106..2ebcc30e81 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -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('CANNOT_BAN_YOURSELF');
+ trigger_error('CANNOT_BAN_YOURSELF', E_USER_WARNING);
}
if (in_array($clean_name, $founder_names))
{
- trigger_error('CANNOT_BAN_FOUNDER');
+ trigger_error('CANNOT_BAN_FOUNDER', E_USER_WARNING);
}
$sql_usernames[] = $clean_name;
}