aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-04-22 15:49:24 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-04-22 15:49:24 +0000
commit9d862819cf8f1d9f14a4f5465ca84579b05fb959 (patch)
treeb7c489f15e8d544163ca543f02e02f84b8516b6e /engine/lib/users.php
parent8b5fd806d6871aaeb179376328a8af215ed44f88 (diff)
downloadelgg-9d862819cf8f1d9f14a4f5465ca84579b05fb959.tar.gz
elgg-9d862819cf8f1d9f14a4f5465ca84579b05fb959.tar.bz2
Deleting correct data + using correct tables
git-svn-id: https://code.elgg.org/elgg/trunk@3228 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r--engine/lib/users.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index 5a9234dc6..cddc89b3a 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -153,8 +153,8 @@
public function delete()
{
// Delete owned data
- clear_annotations_by_owner($this->owner_guid);
- clear_metadata_by_owner($this->owner_guid);
+ clear_annotations_by_owner($this->guid);
+ clear_metadata_by_owner($this->guid);
// Delete entity
return parent::delete();