mirror of
https://github.com/friendica/friendica
synced 2025-05-01 17:04:25 +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
|
@ -846,6 +846,11 @@ class User
|
|||
self::update($fields, $user['uid']);
|
||||
// Set the last activity for all identities of the user
|
||||
DBA::update('user', $fields, ['parent-uid' => $user['uid'], 'verified' => true, 'blocked' => false, 'account_removed' => false, 'account_expired' => false]);
|
||||
|
||||
if (!empty($user['parent-uid'])) {
|
||||
self::update($fields, $user['parent-uid']);
|
||||
DBA::update('user', $fields, ['parent-uid' => $user['parent-uid'], 'verified' => true, 'blocked' => false, 'account_removed' => false, 'account_expired' => false]);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue