aboutsummaryrefslogtreecommitdiff
path: root/mod/likes
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-07-06 07:23:18 -0400
committerCash Costello <cash.costello@gmail.com>2011-07-06 07:23:18 -0400
commit0d956e1f0fb8ad6c009c217014984a3fc7c6e77f (patch)
tree5bf5c67b06b9a1bf5893c68136ec19e8b7b27e99 /mod/likes
parente7d0bf44e4f9958b211f0a010e7c70ea0cae7da7 (diff)
downloadelgg-0d956e1f0fb8ad6c009c217014984a3fc7c6e77f.tar.gz
elgg-0d956e1f0fb8ad6c009c217014984a3fc7c6e77f.tar.bz2
Fixes #3642 removing likes river code
Diffstat (limited to 'mod/likes')
-rw-r--r--mod/likes/actions/likes/add.php3
-rw-r--r--mod/likes/views/default/river/annotation/likes/create.php10
2 files changed, 0 insertions, 13 deletions
diff --git a/mod/likes/actions/likes/add.php b/mod/likes/actions/likes/add.php
index 7ccb19d92..b76c1bea9 100644
--- a/mod/likes/actions/likes/add.php
+++ b/mod/likes/actions/likes/add.php
@@ -57,8 +57,5 @@ if ($entity->owner_guid != $user->guid) {
system_message(elgg_echo("likes:likes"));
-//add to river
-add_to_river('annotation/annotatelike', 'likes', $user->guid, $entity->guid, "", 0, $annotation);
-
// Forward back to the page where the user 'liked' the object
forward(REFERER);
diff --git a/mod/likes/views/default/river/annotation/likes/create.php b/mod/likes/views/default/river/annotation/likes/create.php
deleted file mode 100644
index 0160bcc0b..000000000
--- a/mod/likes/views/default/river/annotation/likes/create.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-/**
- * Likes river view
- *
- * @todo not finished
- */
-
-echo elgg_view('river/item', array(
- 'item' => $vars['item'],
-));