From bcf876ec70e5d1e1479b5d0128c543c751ef1bd2 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Mon, 28 Nov 2011 18:23:08 -0500 Subject: Fixes #4116 not liking users now since people think they are liking the activity entry --- mod/likes/start.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mod') diff --git a/mod/likes/start.php b/mod/likes/start.php index 690d7c052..0f8e12159 100644 --- a/mod/likes/start.php +++ b/mod/likes/start.php @@ -65,6 +65,11 @@ function likes_river_menu_setup($hook, $type, $return, $params) { if ($item->type == "group" && $item->view != "river/group/create") { return $return; } + + // don't like users #4116 + if ($item->type == "user") { + return $return; + } $object = $item->getObjectEntity(); if (!elgg_in_context('widgets') && $item->annotation_id == 0) { -- cgit v1.2.3