From 96e831663357280de044553d52dbf33dbf1a7dbb Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 28 Feb 2024 10:04:22 +0000 Subject: some cloeanup after last commit --- Zotlabs/Widget/Pinned.php | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'Zotlabs/Widget/Pinned.php') diff --git a/Zotlabs/Widget/Pinned.php b/Zotlabs/Widget/Pinned.php index a93937aa9..1380c156b 100644 --- a/Zotlabs/Widget/Pinned.php +++ b/Zotlabs/Widget/Pinned.php @@ -77,17 +77,6 @@ class Pinned { } } - $consensus = (intval($item['item_consensus']) ? true : false); - if($consensus) { - $conv_responses['agree'] = [ 'title' => t('Agree','title') ]; - $conv_responses['disagree'] = [ 'title' => t('Disagree','title') ]; - $conv_responses['abstain'] = [ 'title' => t('Abstain','title') ]; - if($commentable && $observer) { - $conlabels = [ t('I agree'), t('I disagree'), t('I abstain') ]; - $canvote = true; - } - } - $this->activity($item, $conv_responses); $verified = (intval($item['item_verified']) ? t('Message signature validated') : ''); -- cgit v1.2.3