diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2012-11-06 11:15:41 -0500 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2012-11-06 11:15:41 -0500 |
commit | 443af0ad5679c054502a0b5a8ec778c1bbd9e9d0 (patch) | |
tree | 54e633ba4f17dae0cc7c2afc8e36db03f5198de5 /phpBB/includes/functions_user.php | |
parent | 87ea50948ea53c0d1beab5b44badebeae4292d1a (diff) | |
download | forums-443af0ad5679c054502a0b5a8ec778c1bbd9e9d0.tar forums-443af0ad5679c054502a0b5a8ec778c1bbd9e9d0.tar.gz forums-443af0ad5679c054502a0b5a8ec778c1bbd9e9d0.tar.bz2 forums-443af0ad5679c054502a0b5a8ec778c1bbd9e9d0.tar.xz forums-443af0ad5679c054502a0b5a8ec778c1bbd9e9d0.zip |
[feature/prune-users] $author_id_sql is no longer needed here.
PHPBB3-9622
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r-- | phpBB/includes/functions_user.php | 2 |
1 files changed, 0 insertions, 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); |