1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

Fixing converter bugs.

#21215
#18575
#18435
#16565



git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8379 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof
2008-02-13 16:28:37 +00:00
parent bd31cb634d
commit d7c5f502b4
6 changed files with 23 additions and 7 deletions

View File

@@ -1559,6 +1559,16 @@ if (version_compare($current_version, '3.0.RC5', '<='))
$no_updates = false;
}
if (version_compare($current_version, '3.0.0', '<='))
{
$sql = 'UPDATE ' . TOPICS_TABLE . "
SET topic_last_view_time = topic_last_post_time
WHERE topic_last_view_time = 0";
_sql($sql, $errored, $error_ary);
// TODO: remove all form token min times
}
_write_result($no_updates, $errored, $error_ary);
$error_ary = array();