aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2008-02-13 16:28:37 +0000
committerHenry Sudhof <kellanved@phpbb.com>2008-02-13 16:28:37 +0000
commitd7c5f502b4e0ef87a1d4a8d9a4fc16c79b3a5dc1 (patch)
tree522d22fa5bfe582f1ad18aabe3df62e8dc71c7da /phpBB/install/database_update.php
parentbd31cb634d545edb0cf17e58962004d6830f3537 (diff)
downloadforums-d7c5f502b4e0ef87a1d4a8d9a4fc16c79b3a5dc1.tar
forums-d7c5f502b4e0ef87a1d4a8d9a4fc16c79b3a5dc1.tar.gz
forums-d7c5f502b4e0ef87a1d4a8d9a4fc16c79b3a5dc1.tar.bz2
forums-d7c5f502b4e0ef87a1d4a8d9a4fc16c79b3a5dc1.tar.xz
forums-d7c5f502b4e0ef87a1d4a8d9a4fc16c79b3a5dc1.zip
Fixing converter bugs.
#21215 #18575 #18435 #16565 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8379 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r--phpBB/install/database_update.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index a4d6c46695..899384fb41 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -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();