aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
diff options
context:
space:
mode:
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();