aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-13 13:08:11 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-13 13:08:11 +0000
commit0b9e7e0e00273de31fc689a7ade222e9b0b5cbdd (patch)
tree7660beffd9ce7f0d6bc226b368d3e5410b1d6745 /engine/lib/users.php
parent7f7decf9cb9084f6942ae9ea160f2e7c4d4a8b81 (diff)
downloadelgg-0b9e7e0e00273de31fc689a7ade222e9b0b5cbdd.tar.gz
elgg-0b9e7e0e00273de31fc689a7ade222e9b0b5cbdd.tar.bz2
Closes #676: Entity subtables now deleted on failed connections.
git-svn-id: https://code.elgg.org/elgg/trunk@2564 36083f99-b078-4883-b0ff-0f9b5a30f544
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);
}
}
}