aboutsummaryrefslogtreecommitdiffstats
path: root/mod/chat.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-20 00:49:37 -0800
committerredmatrix <git@macgirvin.com>2016-02-20 00:49:37 -0800
commitdfbe2eaf9856140de84f4d891fd442cdd6872545 (patch)
tree162714007bf7cc40c14771c62384b45b08c00f3e /mod/chat.php
parenta9711895cf254a0ca34b1e3f7c8e75bb832e6973 (diff)
downloadvolse-hubzilla-dfbe2eaf9856140de84f4d891fd442cdd6872545.tar.gz
volse-hubzilla-dfbe2eaf9856140de84f4d891fd442cdd6872545.tar.bz2
volse-hubzilla-dfbe2eaf9856140de84f4d891fd442cdd6872545.zip
Revert "move accesslist class to namespace"
This reverts commit a9711895cf254a0ca34b1e3f7c8e75bb832e6973.
Diffstat (limited to 'mod/chat.php')
-rw-r--r--mod/chat.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/chat.php b/mod/chat.php
index f219bde73..79a5c050b 100644
--- a/mod/chat.php
+++ b/mod/chat.php
@@ -54,7 +54,7 @@ function chat_post(&$a) {
goaway(z_root() . '/chat/' . $channel['channel_address']);
}
- $acl = new Zotlabs\Access\AccessList($channel);
+ $acl = new AccessList($channel);
$acl->set_from_array($_REQUEST);
$arr = $acl->get();
@@ -162,7 +162,7 @@ function chat_content(&$a) {
intval($a->profile['profile_uid'])
);
if($x) {
- $acl = new Zotlabs\Access\AccessList(false);
+ $acl = new AccessList(false);
$acl->set($x[0]);
$private = $acl->is_private();
@@ -199,7 +199,7 @@ function chat_content(&$a) {
if(local_channel() && argc() > 2 && argv(2) === 'new') {
- $acl = new Zotlabs\Access\AccessList($channel);
+ $acl = new AccessList($channel);
$channel_acl = $acl->get();
require_once('include/acl_selectors.php');