aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/classes/ElggAnnotation.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/classes/ElggAnnotation.php b/engine/classes/ElggAnnotation.php
index f61ea520d..30d9c4245 100644
--- a/engine/classes/ElggAnnotation.php
+++ b/engine/classes/ElggAnnotation.php
@@ -78,6 +78,7 @@ class ElggAnnotation extends ElggExtender {
* @return bool
*/
function delete() {
+ remove_from_river_by_annotation($this->id);
return elgg_delete_metastring_based_object_by_id($this->id, 'annotations');
}