From 443af0ad5679c054502a0b5a8ec778c1bbd9e9d0 Mon Sep 17 00:00:00 2001 From: Oleg Pudeyev Date: Tue, 6 Nov 2012 11:15:41 -0500 Subject: [PATCH] [feature/prune-users] $author_id_sql is no longer needed here. PHPBB3-9622 --- phpBB/includes/functions_user.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index 42b613c4f0..0e347fe477 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -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);