aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/sites.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/sites.php')
-rw-r--r--engine/lib/sites.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/sites.php b/engine/lib/sites.php
index 16e4c6614..add5424e2 100644
--- a/engine/lib/sites.php
+++ b/engine/lib/sites.php
@@ -135,10 +135,10 @@
*/
public function delete()
{
- if (!parent::delete())
+ if (!delete_site_entity($this->get('guid')))
return false;
- return delete_site_entity($this->get('guid'));
+ return parent::delete();
}
/**