1
1
Fork 0

Always show dislikes - the setting now just hides the button

This commit is contained in:
Michael 2017-11-19 09:55:45 +00:00
parent 31768c868b
commit 9832ac7dab

View file

@ -217,10 +217,7 @@ class Item extends BaseObject
}*/
// process action responses - e.g. like/dislike/attend/agree/whatever
$response_verbs = array('like');
if (feature_enabled($conv->get_profile_owner(), 'dislike')) {
$response_verbs[] = 'dislike';
}
$response_verbs = array('like', 'dislike');
if ($item['object-type'] === ACTIVITY_OBJ_EVENT) {
$response_verbs[] = 'attendyes';