aboutsummaryrefslogtreecommitdiff
path: root/views/default/river
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/river')
-rw-r--r--views/default/river/annotation/likes/create.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/views/default/river/annotation/likes/create.php b/views/default/river/annotation/likes/create.php
deleted file mode 100644
index 374f4a381..000000000
--- a/views/default/river/annotation/likes/create.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-/**
- * Likes river view
- */
-$object = $vars['item']->getObjectEntity();
-$comment = $vars['item']->getAnnotation();
-
-$url = $object->getURL();
-$title = $object->title;
-if (!$title) {
- $title = elgg_echo('untitled');
-}
-$params = array(
- 'href' => $object->getURL(),
- 'text' => $title,
-);
-$object_link = elgg_view('output/url', $params);
-
-$type = $object->getType();
-$subtype = $object->getSubtype();
-
-$type_string = elgg_echo("river:commented:$type:$subtype");
-echo elgg_echo('river:likes', array($type_string, $object_link));