mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:05:16 +02:00
Simplify "last-activity" handling
This commit is contained in:
parent
1d8c9276f3
commit
e5a531d3b5
5 changed files with 12 additions and 15 deletions
|
@ -1126,4 +1126,10 @@ function update_1491()
|
|||
{
|
||||
DBA::update('contact', ['remote_self' => Contact::MIRROR_OWN_POST], ['remote_self' => Contact::MIRROR_FORWARDED]);
|
||||
return Update::SUCCESS;
|
||||
}
|
||||
|
||||
function update_1497()
|
||||
{
|
||||
DBA::e("UPDATE `user` SET `last-activity` = DATE(`login_date`) WHERE `last-activity` IS NULL");
|
||||
return Update::SUCCESS;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue