aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/group.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/group.php')
-rw-r--r--engine/lib/group.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/engine/lib/group.php b/engine/lib/group.php
index 05c4f1262..28f6eaa10 100644
--- a/engine/lib/group.php
+++ b/engine/lib/group.php
@@ -261,12 +261,10 @@
*/
public function delete()
{
-
- if (!delete_group_entity($this->get('guid')))
- return false;
-
- return parent::delete();
-
+ if (parent::delete())
+ return delete_group_entity($this->get('guid'));
+
+ return false;
}