aboutsummaryrefslogtreecommitdiff
path: root/actions/addtag.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/addtag.php')
-rw-r--r--actions/addtag.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/actions/addtag.php b/actions/addtag.php
index 115a81bc6..9e5313b7f 100644
--- a/actions/addtag.php
+++ b/actions/addtag.php
@@ -78,9 +78,7 @@ if ($image->annotate('phototag', serialize($tag), $access_id, $owner_id)) {
add_entity_relationship($user_id, 'phototag', $image_guid);
// also add this to the river - subject is image, object is the tagged user
- if (function_exists('add_to_river')) {
- add_to_river('river/object/image/tag', 'tag', $image_guid, $user_id, $access_id);
- }
+ add_to_river('river/object/image/tag', 'tag', $image_guid, $user_id, $access_id);
// notify user of tagging as long as not self
if ($owner_id != $user_id) {