aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/objects.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/objects.php')
-rw-r--r--engine/lib/objects.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/lib/objects.php b/engine/lib/objects.php
index c049c51d2..5d986675f 100644
--- a/engine/lib/objects.php
+++ b/engine/lib/objects.php
@@ -128,10 +128,10 @@
*/
public function delete()
{
- if (!delete_object_entity($this->get('guid')))
- return false;
+ if (parent::delete())
+ return delete_object_entity($this->get('guid'));//)
- return parent::delete();
+ return false;
}
/**