diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-11-28 18:23:08 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-11-28 18:23:08 -0500 |
commit | 7a7bdc518860e00809ede27f3cb2e6a31a49b83d (patch) | |
tree | ccf0624e210cddcaaacc8b897783e1577bf2c79f | |
parent | 8d4d2cf34040cba92208b1bee98d4c6760c8609a (diff) | |
download | elgg-7a7bdc518860e00809ede27f3cb2e6a31a49b83d.tar.gz elgg-7a7bdc518860e00809ede27f3cb2e6a31a49b83d.tar.bz2 |
Fixes #4116 not liking users now since people think they are liking the activity entry
-rw-r--r-- | mod/likes/start.php | 5 |
1 files changed, 5 insertions, 0 deletions
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) { |