mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
Minor update to topic syncing section for updating from early revisions.
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3185 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
1812ce9066
commit
afe3c78113
1 changed files with 3 additions and 1 deletions
|
@ -660,7 +660,8 @@ switch ( $row['config_value'] )
|
|||
|
||||
$sql = "SELECT topic_id, topic_moved_id
|
||||
FROM " . TOPICS_TABLE . "
|
||||
WHERE topic_moved_id <> 0";
|
||||
WHERE topic_moved_id <> 0
|
||||
AND topic_status = " . TOPIC_MOVED;
|
||||
$result = _sql($sql, $errored, $error_ary);
|
||||
|
||||
$topic_ary = array();
|
||||
|
@ -820,6 +821,7 @@ switch ( $row['config_value'] )
|
|||
}
|
||||
unset($update_list);
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
// Optimize/vacuum analyze the tables where appropriate
|
||||
switch (SQL_LAYER)
|
||||
|
|
Loading…
Add table
Reference in a new issue