mirror of
https://github.com/nextcloud/server.git
synced 2026-07-15 13:01:34 -04:00
fix(user_status): also remove backup status when user is deleted
UserDeletedListener only called removeUserStatus(), leaving backup status rows (prefixed _userId) orphaned in the database forever. AI-Assisted-By: Claude Opus 4.6 Signed-off-by: Anna Larch <anna@nextcloud.com>
This commit is contained in:
parent
9c5d6d7ac9
commit
06131fd00a
1 changed files with 1 additions and 0 deletions
|
|
@ -44,5 +44,6 @@ class UserDeletedListener implements IEventListener {
|
|||
|
||||
$user = $event->getUser();
|
||||
$this->service->removeUserStatus($user->getUID());
|
||||
$this->service->removeBackupUserStatus($user->getUID());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue