aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/install.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/install/install.php')
-rw-r--r--phpBB/install/install.php6
1 files changed, 6 insertions, 0 deletions
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);