diff options
-rw-r--r-- | lib/private/Group/Group.php | 3 |
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) { |