mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
nice...
git-svn-id: file:///svn/phpbb/trunk@7001 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
603227a02f
commit
0af3306ee4
1 changed files with 3 additions and 3 deletions
|
@ -530,7 +530,7 @@ function delete_topics($where_type, $where_ids, $auto_sync = true, $post_count_s
|
|||
|
||||
$sql = 'SELECT topic_id, forum_id, topic_approved
|
||||
FROM ' . TOPICS_TABLE . '
|
||||
WHERE ' . ;
|
||||
WHERE ' . $where_clause;
|
||||
$result = $db->sql_query($sql);
|
||||
|
||||
while ($row = $db->sql_fetchrow($result))
|
||||
|
@ -611,7 +611,7 @@ function delete_posts($where_type, $where_ids, $auto_sync = true, $posted_sync =
|
|||
return false;
|
||||
}
|
||||
|
||||
$where_clause = $db->sql_in_set($where_type, array_map('intval', $where_ids);
|
||||
$where_clause = $db->sql_in_set($where_type, array_map('intval', $where_ids));
|
||||
}
|
||||
|
||||
$approved_posts = 0;
|
||||
|
@ -619,7 +619,7 @@ function delete_posts($where_type, $where_ids, $auto_sync = true, $posted_sync =
|
|||
|
||||
$sql = 'SELECT post_id, poster_id, post_approved, post_postcount, topic_id, forum_id
|
||||
FROM ' . POSTS_TABLE . '
|
||||
WHERE ' . $where_clause);
|
||||
WHERE ' . $where_clause;
|
||||
$result = $db->sql_query($sql);
|
||||
|
||||
while ($row = $db->sql_fetchrow($result))
|
||||
|
|
Loading…
Add table
Reference in a new issue