aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
diff options
context:
space:
mode:
authorLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-06-05 19:15:49 +0000
committerLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-06-05 19:15:49 +0000
commit3b99c70b2f380a99a8b01836e7d08b087bd5dc88 (patch)
tree7daea21abcbf2c78f38d545e19a0a953f9679f74 /phpBB/includes/functions_admin.php
parentf0c133a55954c479462cbb356f40c42237b52d6c (diff)
downloadforums-3b99c70b2f380a99a8b01836e7d08b087bd5dc88.tar
forums-3b99c70b2f380a99a8b01836e7d08b087bd5dc88.tar.gz
forums-3b99c70b2f380a99a8b01836e7d08b087bd5dc88.tar.bz2
forums-3b99c70b2f380a99a8b01836e7d08b087bd5dc88.tar.xz
forums-3b99c70b2f380a99a8b01836e7d08b087bd5dc88.zip
Cleaned up commented lines
git-svn-id: file:///svn/phpbb/trunk@4084 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r--phpBB/includes/functions_admin.php4
1 files changed, 0 insertions, 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