mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02: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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user