mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-25 20:45:16 +02:00
[feature/prune-users] $author_id_sql is no longer needed here.
PHPBB3-9622
This commit is contained in:
@ -574,8 +574,6 @@ function user_delete($mode, $user_ids, $retain_username = true)
|
|||||||
|
|
||||||
$cache->destroy('sql', MODERATOR_CACHE_TABLE);
|
$cache->destroy('sql', MODERATOR_CACHE_TABLE);
|
||||||
|
|
||||||
$author_id_sql = $db->sql_in_set('author_id', $user_ids);
|
|
||||||
|
|
||||||
// Delete user log entries about this user
|
// Delete user log entries about this user
|
||||||
$sql = 'DELETE FROM ' . LOG_TABLE . '
|
$sql = 'DELETE FROM ' . LOG_TABLE . '
|
||||||
WHERE ' . $db->sql_in_set('reportee_id', $user_ids);
|
WHERE ' . $db->sql_in_set('reportee_id', $user_ids);
|
||||||
|
Reference in New Issue
Block a user