1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-24 20:17:58 +02:00

[feature/prune-users] $author_id_sql is no longer needed here.

PHPBB3-9622
This commit is contained in:
Oleg Pudeyev
2012-11-06 11:15:41 -05:00
parent 87ea50948e
commit 443af0ad56

View File

@ -574,8 +574,6 @@ function user_delete($mode, $user_ids, $retain_username = true)
$cache->destroy('sql', MODERATOR_CACHE_TABLE);
$author_id_sql = $db->sql_in_set('author_id', $user_ids);
// Delete user log entries about this user
$sql = 'DELETE FROM ' . LOG_TABLE . '
WHERE ' . $db->sql_in_set('reportee_id', $user_ids);