From 3b99c70b2f380a99a8b01836e7d08b087bd5dc88 Mon Sep 17 00:00:00 2001 From: Ludovic Arnaud Date: Thu, 5 Jun 2003 19:15:49 +0000 Subject: [PATCH] Cleaned up commented lines git-svn-id: file:///svn/phpbb/trunk@4084 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_admin.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index ee789a0ade..fc37f15cd8 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -270,8 +270,6 @@ function delete_topics($where_type, $where_ids, $auto_sync = TRUE) 'posts' => delete_posts($where_type, $where_ids, FALSE) ); -//???? $where_sql = "WHERE $where_type " . ((!is_array($where_ids)) ? "= $where_ids" : 'IN (' . implode(', ', $where_ids) . ')'); - $sql = 'SELECT topic_id, forum_id FROM ' . TOPICS_TABLE . " WHERE $where_type " . ((!is_array($where_ids)) ? "= $where_ids" : 'IN (' . implode(', ', $where_ids) . ')'); @@ -570,7 +568,6 @@ function sync($mode, $where_type = '', $where_ids = '', $resync_parents = FALSE, break; default: - // NOTE: untested $sql = 'SELECT p.post_id FROM ' . POSTS_TABLE . ' t LEFT JOIN ' . REPORTS_TABLE . " r ON r.post_id = t.post_id @@ -605,7 +602,6 @@ function sync($mode, $where_type = '', $where_ids = '', $resync_parents = FALSE, break; default: - // NOTE: untested $sql = 'SELECT t.topic_id, t.topic_reported, p.post_reported FROM ' . TOPICS_TABLE . ' t LEFT JOIN ' . POSTS_TABLE . " p ON p.topic_id = t.topic_id