Merge pull request #3913 from annando/dislike
Always show dislikes - the setting now just hides the button
This commit is contained in:
commit
56b2f6a19a
1 changed files with 1 additions and 4 deletions
|
@ -217,10 +217,7 @@ class Item extends BaseObject
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
// process action responses - e.g. like/dislike/attend/agree/whatever
|
// process action responses - e.g. like/dislike/attend/agree/whatever
|
||||||
$response_verbs = array('like');
|
$response_verbs = array('like', 'dislike');
|
||||||
if (feature_enabled($conv->get_profile_owner(), 'dislike')) {
|
|
||||||
$response_verbs[] = 'dislike';
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($item['object-type'] === ACTIVITY_OBJ_EVENT) {
|
if ($item['object-type'] === ACTIVITY_OBJ_EVENT) {
|
||||||
$response_verbs[] = 'attendyes';
|
$response_verbs[] = 'attendyes';
|
||||||
|
|
Loading…
Reference in a new issue