1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-05 23:25:30 +02:00

Change related to the latest form of topics table

git-svn-id: file:///svn/phpbb/trunk@3602 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Ludovic Arnaud 2003-03-06 01:33:20 +00:00
parent afdff15fb9
commit 6251ea7130

@ -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);