mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00: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:
parent
afdff15fb9
commit
6251ea7130
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue