aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
authorn-aleha <nick_aleha@myway.com>2014-07-05 23:00:13 +0300
committern-aleha <nick_aleha@myway.com>2014-07-05 23:00:13 +0300
commit182d22567dfbec3c2f36589ec5e5d91e2cfb02ef (patch)
treecf72b24cd016c8b122d250e1004b93cf8efe8fc4 /phpBB/includes/functions_user.php
parenta6d66b2ab032e9b71596e03fef7814bd80bda2d8 (diff)
downloadforums-182d22567dfbec3c2f36589ec5e5d91e2cfb02ef.tar
forums-182d22567dfbec3c2f36589ec5e5d91e2cfb02ef.tar.gz
forums-182d22567dfbec3c2f36589ec5e5d91e2cfb02ef.tar.bz2
forums-182d22567dfbec3c2f36589ec5e5d91e2cfb02ef.tar.xz
forums-182d22567dfbec3c2f36589ec5e5d91e2cfb02ef.zip
[ticket/12816] Fix comment about logs in user_ban function
PHPBB3-12816
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 ea8b0a4640..bf6bebb302 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -1040,7 +1040,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')