aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-18 09:33:22 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-18 09:33:22 +0000
commit14eeaf39e11b5056f3346042949358cf2d198583 (patch)
treeaeec6e518564460417fa469f3a18b29ed3d3e3fd /engine/lib/users.php
parent8a5ee076589070ff1654fd6afdf7b347beca5890 (diff)
downloadelgg-14eeaf39e11b5056f3346042949358cf2d198583.tar.gz
elgg-14eeaf39e11b5056f3346042949358cf2d198583.tar.bz2
Removing a user disables their entities
git-svn-id: https://code.elgg.org/elgg/trunk@1997 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r--engine/lib/users.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index cb233466d..edc444585 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -404,6 +404,7 @@
// Check to see if we have access and it exists
if ($row)
{
+ disable_entities($guid);
// Delete any existing stuff
return delete_data("DELETE from {$CONFIG->dbprefix}users_entity where guid=$guid");
}