diff options
author | cash <cash.costello@gmail.com> | 2011-10-04 22:25:42 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-10-04 22:25:42 -0400 |
commit | 0fd0dea6054a1f387e48993d00e20e6e8466b56c (patch) | |
tree | 47c8ee008347b943801906e8d67336eab21f8d12 /engine/lib | |
parent | 995f809c952cd8af82b1d2ca6627cad5e34b6037 (diff) | |
download | elgg-0fd0dea6054a1f387e48993d00e20e6e8466b56c.tar.gz elgg-0fd0dea6054a1f387e48993d00e20e6e8466b56c.tar.bz2 |
Fixes #3753 removed deprecated functions from delete_entity()
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/entities.php | 4 |
1 files changed, 2 insertions, 2 deletions
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}"); |