aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-02-28 10:04:22 +0000
committerMario <mario@mariovavti.com>2024-02-28 10:04:22 +0000
commit96e831663357280de044553d52dbf33dbf1a7dbb (patch)
treea6f194f1af92e1f2d130b7d57f506685733fbc7d /Zotlabs
parent37878bf0a35bcd0fc799892618a8b34ca0440c2c (diff)
downloadvolse-hubzilla-96e831663357280de044553d52dbf33dbf1a7dbb.tar.gz
volse-hubzilla-96e831663357280de044553d52dbf33dbf1a7dbb.tar.bz2
volse-hubzilla-96e831663357280de044553d52dbf33dbf1a7dbb.zip
some cloeanup after last commit
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Like.php6
-rw-r--r--Zotlabs/Module/Photos.php1
-rw-r--r--Zotlabs/Widget/Pinned.php11
3 files changed, 0 insertions, 18 deletions
diff --git a/Zotlabs/Module/Like.php b/Zotlabs/Module/Like.php
index 18111a3e1..4c9828b2c 100644
--- a/Zotlabs/Module/Like.php
+++ b/Zotlabs/Module/Like.php
@@ -486,12 +486,6 @@ class Like extends Controller {
$bodyverb = t('%1$s likes %2$s\'s %3$s');
if ($verb === 'dislike')
$bodyverb = t('%1$s doesn\'t like %2$s\'s %3$s');
- if ($verb === 'agree')
- $bodyverb = t('%1$s agrees with %2$s\'s %3$s');
- if ($verb === 'disagree')
- $bodyverb = t('%1$s doesn\'t agree with %2$s\'s %3$s');
- if ($verb === 'abstain')
- $bodyverb = t('%1$s abstains from a decision on %2$s\'s %3$s');
if ($verb === 'attendyes')
$bodyverb = t('%1$s is attending %2$s\'s %3$s');
if ($verb === 'attendno')
diff --git a/Zotlabs/Module/Photos.php b/Zotlabs/Module/Photos.php
index 0a490d1db..870a2cb79 100644
--- a/Zotlabs/Module/Photos.php
+++ b/Zotlabs/Module/Photos.php
@@ -1108,7 +1108,6 @@ class Photos extends \Zotlabs\Web\Controller {
$conv_responses = array(
'like' => array('title' => t('Likes','title')),'dislike' => array('title' => t('Dislikes','title')),
- 'agree' => array('title' => t('Agree','title')),'disagree' => array('title' => t('Disagree','title')), 'abstain' => array('title' => t('Abstain','title')),
'attendyes' => array('title' => t('Attending','title')), 'attendno' => array('title' => t('Not attending','title')), 'attendmaybe' => array('title' => t('Might attend','title'))
);
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') : '');