aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
diff options
context:
space:
mode:
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();