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.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/engine/lib/group.php b/engine/lib/group.php
index f9bcd4b32..da5647663 100644
--- a/engine/lib/group.php
+++ b/engine/lib/group.php
@@ -261,10 +261,12 @@
*/
public function delete()
{
- if (!parent::delete())
+
+ if (!delete_group_entity($this->get('guid')))
return false;
- return delete_group_entity($this->get('guid'));
+ return parent::delete();
+
}