aboutsummaryrefslogtreecommitdiff
path: root/mod/riverdashboard/endpoint/get_likes.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-29 18:31:27 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-29 18:31:27 +0000
commitb6f99468651309e0b58dbe000958540809df5dcc (patch)
tree2eb822efea669a1f12d44818e001aaa22b331f69 /mod/riverdashboard/endpoint/get_likes.php
parent6729784c18099d4e34c2ed6146b63f275a2eea54 (diff)
downloadelgg-b6f99468651309e0b58dbe000958540809df5dcc.tar.gz
elgg-b6f99468651309e0b58dbe000958540809df5dcc.tar.bz2
Fixes #2226 moves riverdashboard into secondary plugins from core plugins - most of riverdashboard functionality is now in core (except for displaying who has liked stuff and ajax refreshes)
git-svn-id: http://code.elgg.org/elgg/trunk@7750 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/riverdashboard/endpoint/get_likes.php')
-rw-r--r--mod/riverdashboard/endpoint/get_likes.php22
1 files changed, 0 insertions, 22 deletions
diff --git a/mod/riverdashboard/endpoint/get_likes.php b/mod/riverdashboard/endpoint/get_likes.php
deleted file mode 100644
index cc9e83aaf..000000000
--- a/mod/riverdashboard/endpoint/get_likes.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-/**
- * Grabs more "likes" to display.
- */
-
-require_once(dirname(dirname(dirname(dirname(__FILE__)))) . "/engine/start.php");
-
-$limit = get_input('limit', 25);
-$offset = get_input('offset', 0);
-$entity_guid = get_input('entity_guid');
-
-if (!$entity = get_entity($entity_guid)) {
- exit;
-}
-
-$annotations = $entity->getAnnotations('likes', $limit, $offset);
-
-if (is_array($annotations) && sizeof($annotations) > 0) {
- foreach($annotations as $annotation) {
- echo elgg_view_annotation($annotation, "", false);
- }
-}