mirror of
https://github.com/nextcloud/server.git
synced 2026-07-15 13:01:34 -04:00
Directly delete the user status instead of getting it a second time
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
ba7a31d73b
commit
c5d11abff9
1 changed files with 1 additions and 1 deletions
|
|
@ -474,7 +474,7 @@ class StatusService {
|
|||
// Another status is set automatically, do nothing
|
||||
return;
|
||||
}
|
||||
$this->removeUserStatus($userId);
|
||||
$this->mapper->delete($userStatus);
|
||||
} catch (DoesNotExistException $ex) {
|
||||
// No current status => nothing to delete
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue