aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-05-05 09:45:56 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-05-05 09:45:56 +0000
commit6ca2e50d7747b65cc7a86319355c15c4f7b1ca7c (patch)
tree902f55fe5eb1bf7870d0d2c9be5043ada45781dc /engine
parent646a6820b58a59bf290f9462faafc55fa873d74f (diff)
downloadelgg-6ca2e50d7747b65cc7a86319355c15c4f7b1ca7c.tar.gz
elgg-6ca2e50d7747b65cc7a86319355c15c4f7b1ca7c.tar.bz2
Closes #1007: Private data now removed on entity deletion.
git-svn-id: https://code.elgg.org/elgg/trunk@3258 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/entities.php3
1 files changed, 2 insertions, 1 deletions
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)
{