mirror of
https://github.com/friendica/friendica
synced 2025-04-30 07:44:22 +02:00
Change the last activity for delegation parents and siblings as well
This commit is contained in:
parent
54852ecb56
commit
68c2bdb98e
2 changed files with 6 additions and 1 deletions
|
@ -104,7 +104,7 @@ class OAuth
|
|||
}
|
||||
Logger::debug('Token found', $token);
|
||||
|
||||
$user = User::getById($token['uid'], ['uid', 'last-activity', 'login_date']);
|
||||
$user = User::getById($token['uid'], ['uid', 'parent-uid', 'last-activity', 'login_date']);
|
||||
if (!empty($user)) {
|
||||
User::updateLastActivity($user, false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue