aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/entities.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index c6c0f6fb2..a85596d8a 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -1742,6 +1742,8 @@
$entity->clearMetadata();
$entity->clearAnnotations();
$entity->clearRelationships();
+ remove_from_river_by_subject($guid);
+ remove_from_river_by_object($guid);
$res = delete_data("DELETE from {$CONFIG->dbprefix}entities where guid={$guid}");
return $res;