mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +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:
@@ -717,6 +717,12 @@ else
|
|||||||
WHERE forum_last_poster_name = 'Admin'";
|
WHERE forum_last_poster_name = 'Admin'";
|
||||||
$db->sql_query($sql);
|
$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
|
$sql = "UPDATE " . $table_prefix . "users
|
||||||
SET user_regdate = " . time();
|
SET user_regdate = " . time();
|
||||||
$db->sql_query($sql);
|
$db->sql_query($sql);
|
||||||
|
Reference in New Issue
Block a user