aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Group
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-04-04 16:40:07 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-04-04 16:40:07 +0200
commit32eef3b10fafc64a7ec6a2f744fd543435ecb874 (patch)
treee0d520bd3e6eb79ce66cf99384f211ddab51aa46 /lib/private/Group
parent57ecf55e0f91f28b7b1665bb9765a1f58a285aca (diff)
downloadnextcloud-server-32eef3b10fafc64a7ec6a2f744fd543435ecb874.tar.gz
nextcloud-server-32eef3b10fafc64a7ec6a2f744fd543435ecb874.zip
Do not ignore return value of deleteGroup from backend
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/Group')
-rw-r--r--lib/private/Group/Group.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/Group/Group.php b/lib/private/Group/Group.php
index 9a9996f7f60..2ef4d2ee23f 100644
--- a/lib/private/Group/Group.php
+++ b/lib/private/Group/Group.php
@@ -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) {