mirror of
https://github.com/friendica/friendica
synced 2025-04-30 07:44:22 +02:00
Issue 10518: "last-activity" instead of "login_date"
This commit is contained in:
parent
22e2578b23
commit
1d8c9276f3
13 changed files with 23 additions and 20 deletions
|
@ -356,7 +356,7 @@ class Authentication
|
|||
$this->dba->update('user', ['last-activity' => DateTimeFormat::utcNow('Y-m-d'), 'login_date' => DateTimeFormat::utcNow()], ['uid' => $user_record['uid']]);
|
||||
|
||||
// Set the login date for all identities of the user
|
||||
$this->dba->update('user', ['login_date' => DateTimeFormat::utcNow()],
|
||||
$this->dba->update('user', ['last-activity' => DateTimeFormat::utcNow('Y-m-d'), 'login_date' => DateTimeFormat::utcNow()],
|
||||
['parent-uid' => $user_record['uid'], 'account_removed' => false]);
|
||||
|
||||
// Regularly update suggestions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue