aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-07 15:33:22 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-07 15:33:22 +0000
commit185d5603673e8bf02d09c8e953e4cd7725b74747 (patch)
tree4d050ce34f8ef4c94f4c35111a199b188f38ed39 /engine
parentc51bf8546e6b776f8ac684890e90b7ff0e1bf3e9 (diff)
downloadelgg-185d5603673e8bf02d09c8e953e4cd7725b74747.tar.gz
elgg-185d5603673e8bf02d09c8e953e4cd7725b74747.tar.bz2
Same bugfix for sites and users
git-svn-id: https://code.elgg.org/elgg/trunk@414 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-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'));
}
/**