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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index 360c2c5e8..5d5153cc4 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -411,7 +411,7 @@
if (trigger_elgg_event('create',$entity->type,$entity)) {
return $guid;
} else {
- delete_entity($guid);
+ $entity->delete(); //delete_entity($guid);
}
}
}