aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/sites.php2
-rw-r--r--engine/lib/users.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/sites.php b/engine/lib/sites.php
index 2d9f04f1c..9f296fc51 100644
--- a/engine/lib/sites.php
+++ b/engine/lib/sites.php
@@ -134,7 +134,7 @@
if (!parent::delete())
return false;
- return delete_site_entity($guid);
+ return delete_site_entity($this->get('guid'));
}
/**
diff --git a/engine/lib/users.php b/engine/lib/users.php
index edf2974c1..2447ea93c 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -140,7 +140,7 @@
if (!parent::delete())
return false;
- return delete_user_entity($guid);
+ return delete_user_entity($this->get('guid'));
}
/**