From 0fd0dea6054a1f387e48993d00e20e6e8466b56c Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 4 Oct 2011 22:25:42 -0400 Subject: Fixes #3753 removed deprecated functions from delete_entity() --- engine/lib/entities.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine') diff --git a/engine/lib/entities.php b/engine/lib/entities.php index c8317d64d..927be4b1d 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -1521,8 +1521,8 @@ function delete_entity($guid, $recursive = true) { $entity->deleteOwnedAnnotations(); $entity->deleteRelationships(); - remove_from_river_by_subject($guid); - remove_from_river_by_object($guid); + elgg_delete_river(array('subject_guid' => $guid)); + elgg_delete_river(array('object_guid' => $guid)); remove_all_private_settings($guid); $res = delete_data("DELETE from {$CONFIG->dbprefix}entities where guid={$guid}"); -- cgit v1.2.3