mirror of
https://github.com/nextcloud/server.git
synced 2026-02-19 02:38:40 -05:00
Do not ignore return value of deleteGroup from backend
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
57ecf55e0f
commit
32eef3b10f
1 changed files with 1 additions and 2 deletions
|
|
@ -354,8 +354,7 @@ class Group implements IGroup {
|
|||
}
|
||||
foreach ($this->backends as $backend) {
|
||||
if ($backend->implementsActions(\OC\Group\Backend::DELETE_GROUP)) {
|
||||
$result = true;
|
||||
$backend->deleteGroup($this->gid);
|
||||
$result = $result || $backend->deleteGroup($this->gid);
|
||||
}
|
||||
}
|
||||
if ($result) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue