From 6251ea71304180352d2d45bf755dddb77c520ca4 Mon Sep 17 00:00:00 2001 From: Ludovic Arnaud Date: Thu, 6 Mar 2003 01:33:20 +0000 Subject: [PATCH] Change related to the latest form of topics table git-svn-id: file:///svn/phpbb/trunk@3602 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/install/install.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/phpBB/install/install.php b/phpBB/install/install.php index 7542338804..9a76da8d2a 100644 --- a/phpBB/install/install.php +++ b/phpBB/install/install.php @@ -717,6 +717,12 @@ else WHERE forum_last_poster_name = 'Admin'"; $db->sql_query($sql); + $sql = "UPDATE " . $table_prefix . "topics + SET topic_first_poster_name = '" . $admin_name . "', topic_last_poster_name = '" . $admin_name . "' + WHERE topic_first_poster_name = 'Admin' + OR topic_last_poster_name = 'Admin'"; + $db->sql_query($sql); + $sql = "UPDATE " . $table_prefix . "users SET user_regdate = " . time(); $db->sql_query($sql);