]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #3642 removing likes river code
authorCash Costello <cash.costello@gmail.com>
Wed, 6 Jul 2011 11:23:18 +0000 (07:23 -0400)
committerCash Costello <cash.costello@gmail.com>
Wed, 6 Jul 2011 11:23:18 +0000 (07:23 -0400)
mod/likes/actions/likes/add.php
mod/likes/views/default/river/annotation/likes/create.php [deleted file]

index 7ccb19d922e3dd3977e09685e180f6709ebbb8a3..b76c1bea9413ffa03e1af992c6cb4d4fcbc5def8 100644 (file)
@@ -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 (file)
index 0160bcc..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-/**
- * Likes river view
- *
- * @todo not finished
- */
-
-echo elgg_view('river/item', array(
-       'item' => $vars['item'],
-));