From 6ca2e50d7747b65cc7a86319355c15c4f7b1ca7c Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 5 May 2009 09:45:56 +0000 Subject: Closes #1007: Private data now removed on entity deletion. git-svn-id: https://code.elgg.org/elgg/trunk@3258 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engine/lib/entities.php') diff --git a/engine/lib/entities.php b/engine/lib/entities.php index fc572e29a..d0935adf2 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -1843,7 +1843,8 @@ $entity->clearAnnotations(); $entity->clearRelationships(); remove_from_river_by_subject($guid); - remove_from_river_by_object($guid); + remove_from_river_by_object($guid); + remove_all_private_settings($guid); $res = delete_data("DELETE from {$CONFIG->dbprefix}entities where guid={$guid}"); if ($res) { -- cgit v1.2.3