aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Share.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-12-20 12:15:42 +0000
committerMario <mario@mariovavti.com>2023-12-20 12:15:42 +0000
commit4761857157281046c96a7bbf0fe87491bafd4696 (patch)
treed69a0ac807db498e8ff46a0137ce1d1db7e81e9e /Zotlabs/Module/Share.php
parent3aefe23184c25c1fc0865313d13902cabfb934d3 (diff)
downloadvolse-hubzilla-4761857157281046c96a7bbf0fe87491bafd4696.tar.gz
volse-hubzilla-4761857157281046c96a7bbf0fe87491bafd4696.tar.bz2
volse-hubzilla-4761857157281046c96a7bbf0fe87491bafd4696.zip
Revert "changelog"
This reverts commit 3aefe23184c25c1fc0865313d13902cabfb934d3.
Diffstat (limited to 'Zotlabs/Module/Share.php')
-rw-r--r--Zotlabs/Module/Share.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/Zotlabs/Module/Share.php b/Zotlabs/Module/Share.php
index 576a415af..716f7229b 100644
--- a/Zotlabs/Module/Share.php
+++ b/Zotlabs/Module/Share.php
@@ -68,7 +68,6 @@ class Share extends \Zotlabs\Web\Controller {
$owner_uid = $r[0]['uid'];
$owner_aid = $r[0]['aid'];
-/*
$can_comment = false;
if((array_key_exists('owner',$item)) && intval($item['owner']['abook_self']))
$can_comment = perm_is_allowed($item['uid'],$observer['xchan_hash'],'post_comments');
@@ -79,7 +78,6 @@ class Share extends \Zotlabs\Web\Controller {
notice( t('Permission denied') . EOL);
killme();
}
-*/
$r = q("select * from xchan where xchan_hash = '%s' limit 1",
dbesc($item['owner_xchan'])
@@ -115,7 +113,7 @@ class Share extends \Zotlabs\Web\Controller {
$arr['owner_xchan'] = $item['author_xchan'];
$arr['obj'] = Activity::encode_item($item);
$arr['obj_type'] = $item['obj_type'];
- $arr['verb'] = 'Announce'; //ACTIVITY_SHARE;
+ $arr['verb'] = ACTIVITY_SHARE;
$post = item_store($arr);