mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Merge pull request #31828 from nextcloud/fix/do-not-ignore-deleteGroup-result
Do not ignore return value of deleteGroup from backend
This commit is contained in:
commit
51405868b2
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