aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-07-07 00:20:27 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-07-07 00:20:27 +0200
commit0bec9897d7583fa6e47f437d9b5921379d7b24aa (patch)
tree26d5d28289ba23833f83cec61748221e09ed63dd /phpBB/includes/functions_user.php
parentbd0f692bf3679cc26871b6f4bf3a13c76a682673 (diff)
parent182d22567dfbec3c2f36589ec5e5d91e2cfb02ef (diff)
downloadforums-0bec9897d7583fa6e47f437d9b5921379d7b24aa.tar
forums-0bec9897d7583fa6e47f437d9b5921379d7b24aa.tar.gz
forums-0bec9897d7583fa6e47f437d9b5921379d7b24aa.tar.bz2
forums-0bec9897d7583fa6e47f437d9b5921379d7b24aa.tar.xz
forums-0bec9897d7583fa6e47f437d9b5921379d7b24aa.zip
Merge pull request #2697 from n-aleha/ticket/12816
[ticket/12816] Fix comment about logs in user_ban function * n-aleha/ticket/12816: [ticket/12816] Fix comment about logs in user_ban function
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index d11193e4b0..d39be50251 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -1137,7 +1137,7 @@ function user_ban($mode, $ban, $ban_len, $ban_len_other, $ban_exclude, $ban_reas
// Update log
$log_entry = ($ban_exclude) ? 'LOG_BAN_EXCLUDE_' : 'LOG_BAN_';
- // Add to moderator log, admin log and user notes
+ // Add to admin log, moderator log and user notes
add_log('admin', $log_entry . strtoupper($mode), $ban_reason, $ban_list_log);
add_log('mod', 0, 0, $log_entry . strtoupper($mode), $ban_reason, $ban_list_log);
if ($mode == 'user')