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.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");
}