mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-21 00:51:27 +02:00
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/12816] Fix comment about logs in user_ban function
This commit is contained in:
@@ -1137,7 +1137,7 @@ function user_ban($mode, $ban, $ban_len, $ban_len_other, $ban_exclude, $ban_reas
|
|||||||
// Update log
|
// Update log
|
||||||
$log_entry = ($ban_exclude) ? 'LOG_BAN_EXCLUDE_' : 'LOG_BAN_';
|
$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('admin', $log_entry . strtoupper($mode), $ban_reason, $ban_list_log);
|
||||||
add_log('mod', 0, 0, $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')
|
if ($mode == 'user')
|
||||||
|
Reference in New Issue
Block a user