From dfbe2eaf9856140de84f4d891fd442cdd6872545 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sat, 20 Feb 2016 00:49:37 -0800 Subject: Revert "move accesslist class to namespace" This reverts commit a9711895cf254a0ca34b1e3f7c8e75bb832e6973. --- mod/thing.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/thing.php') diff --git a/mod/thing.php b/mod/thing.php index 7e7d1bdc7..7c5020e62 100644 --- a/mod/thing.php +++ b/mod/thing.php @@ -65,7 +65,7 @@ function thing_init(&$a) { if((! $name) || (! $translated_verb)) return; - $acl = new Zotlabs\Access\AccessList($channel); + $acl = new AccessList($channel); if(array_key_exists('contact_allow',$_REQUEST) || array_key_exists('group_allow',$_REQUEST) @@ -271,7 +271,7 @@ function thing_content(&$a) { return; } - $acl = new Zotlabs\Access\AccessList($channel); + $acl = new AccessList($channel); $channel_acl = $acl->get(); $lockstate = (($acl->is_private()) ? 'lock' : 'unlock'); -- cgit v1.2.3