diff options
author | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2003-03-06 01:33:20 +0000 |
---|---|---|
committer | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2003-03-06 01:33:20 +0000 |
commit | 6251ea71304180352d2d45bf755dddb77c520ca4 (patch) | |
tree | e108e3c54db768aad1356d5211604087a9aa2a52 /phpBB/install | |
parent | afdff15fb9b99bec40e437e5071c934d7c70f1e5 (diff) | |
download | forums-6251ea71304180352d2d45bf755dddb77c520ca4.tar forums-6251ea71304180352d2d45bf755dddb77c520ca4.tar.gz forums-6251ea71304180352d2d45bf755dddb77c520ca4.tar.bz2 forums-6251ea71304180352d2d45bf755dddb77c520ca4.tar.xz forums-6251ea71304180352d2d45bf755dddb77c520ca4.zip |
Change related to the latest form of topics table
git-svn-id: file:///svn/phpbb/trunk@3602 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install')
-rw-r--r-- | phpBB/install/install.php | 6 |
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); |