aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggUser.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-14 03:13:31 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-14 03:13:31 +0000
commit8e065905e4172d0ccd01266c6f8e58a65803d011 (patch)
treeadb6f8d3e3b76f1e6339d46a18945b3b29c80dbc /engine/classes/ElggUser.php
parent422434216351c84e868b2c91e8bf0059446b89ed (diff)
downloadelgg-8e065905e4172d0ccd01266c6f8e58a65803d011.tar.gz
elgg-8e065905e4172d0ccd01266c6f8e58a65803d011.tar.bz2
Fixes #2918. Moved annotation/metadata delete functions from ElggUser to ElggEntity. When deleted, entities now correctly delete metadata they own as well as metadata on them. Removed uses of deprecated functions.
git-svn-id: http://code.elgg.org/elgg/trunk@8222 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/classes/ElggUser.php')
-rw-r--r--engine/classes/ElggUser.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/engine/classes/ElggUser.php b/engine/classes/ElggUser.php
index b2303c525..82f03c6ed 100644
--- a/engine/classes/ElggUser.php
+++ b/engine/classes/ElggUser.php
@@ -157,9 +157,6 @@ class ElggUser extends ElggEntity
unset($CODE_TO_GUID_MAP_CACHE[$this->code]);
}
- // Delete owned data
- clear_annotations_by_owner($this->guid);
- clear_metadata_by_owner($this->guid);
clear_user_files($this);
// Delete entity