diff options
author | Mario <mario@mariovavti.com> | 2023-06-02 12:02:50 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-06-02 12:02:50 +0000 |
commit | 0ee03a565f58f3e66d7b7f40163c188cc7d5496f (patch) | |
tree | a057210dce0296f7552384b1408da539959b9fd8 /Zotlabs/Module/Rpost.php | |
parent | 0e8d1afcaff6cff815c85ee4034da11a2967aee3 (diff) | |
download | volse-hubzilla-0ee03a565f58f3e66d7b7f40163c188cc7d5496f.tar.gz volse-hubzilla-0ee03a565f58f3e66d7b7f40163c188cc7d5496f.tar.bz2 volse-hubzilla-0ee03a565f58f3e66d7b7f40163c188cc7d5496f.zip |
remove custom acl from rpost
Diffstat (limited to 'Zotlabs/Module/Rpost.php')
-rw-r--r-- | Zotlabs/Module/Rpost.php | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/Zotlabs/Module/Rpost.php b/Zotlabs/Module/Rpost.php index 7b84339b1..f0194fdfd 100644 --- a/Zotlabs/Module/Rpost.php +++ b/Zotlabs/Module/Rpost.php @@ -169,16 +169,8 @@ class Rpost extends \Zotlabs\Web\Controller { $channel = \App::get_channel(); - if(isset($_REQUEST['acl']) && $_REQUEST['acl']) { - $acl = new \Zotlabs\Access\AccessList([]); - $acl->set($_REQUEST['acl']); - $channel_acl = $acl->get(); - } - else { - $acl = new \Zotlabs\Access\AccessList($channel); - $channel_acl = $acl->get(); - } - + $acl = new \Zotlabs\Access\AccessList($channel); + $channel_acl = $acl->get(); if(isset($_REQUEST['url']) && $_REQUEST['url']) { $x = z_fetch_url(z_root() . '/linkinfo?f=&url=' . urlencode($_REQUEST['url'])); |