From 0b9e7e0e00273de31fc689a7ade222e9b0b5cbdd Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 13 Jan 2009 13:08:11 +0000 Subject: Closes #676: Entity subtables now deleted on failed connections. git-svn-id: https://code.elgg.org/elgg/trunk@2564 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/users.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/users.php') 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); } } } -- cgit v1.2.3