aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Hq.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-06-27 14:53:23 +0000
committerMario <mario@mariovavti.com>2023-06-27 14:53:23 +0000
commit750641ef196d9e113b0e80da9734f70400b55652 (patch)
treeebfa9136bde34242294a4ae896e4b3ab7089286d /Zotlabs/Module/Hq.php
parentfb48dfc08246d8f1eca2fa13b7c976bd29058693 (diff)
downloadvolse-hubzilla-750641ef196d9e113b0e80da9734f70400b55652.tar.gz
volse-hubzilla-750641ef196d9e113b0e80da9734f70400b55652.tar.bz2
volse-hubzilla-750641ef196d9e113b0e80da9734f70400b55652.zip
implement inline moderation of reactions
Diffstat (limited to 'Zotlabs/Module/Hq.php')
-rw-r--r--Zotlabs/Module/Hq.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/Zotlabs/Module/Hq.php b/Zotlabs/Module/Hq.php
index 260d0c41b..05b48f119 100644
--- a/Zotlabs/Module/Hq.php
+++ b/Zotlabs/Module/Hq.php
@@ -67,12 +67,6 @@ class Hq extends \Zotlabs\Web\Controller {
}
}
- // if the item is to be moderated redirect to /moderate
- // comments can be moderated inline
- if(intval($target_item['item_blocked']) === ITEM_MODERATED && in_array($target_item['verb'], [ACTIVITY_LIKE, ACTIVITY_DISLIKE, ACTIVITY_ATTEND, ACTIVITY_ATTENDMAYBE, ACTIVITY_ATTENDNO])) {
- goaway(z_root() . '/moderate/' . $target_item['id']);
- }
-
$simple_update = '';
if($update && $_SESSION['loadtime'])
$simple_update = " AND (( item_unseen = 1 AND item.changed > '" . datetime_convert('UTC','UTC',$_SESSION['loadtime']) . "' ) OR item.changed > '" . datetime_convert('UTC','UTC',$_SESSION['loadtime']) . "' ) ";