From 9d862819cf8f1d9f14a4f5465ca84579b05fb959 Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 22 Apr 2009 15:49:24 +0000 Subject: Deleting correct data + using correct tables git-svn-id: https://code.elgg.org/elgg/trunk@3228 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/users.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/lib/users.php') 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(); -- cgit v1.2.3