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. --- include/menu.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/menu.php') diff --git a/include/menu.php b/include/menu.php index d90cefddb..075372515 100644 --- a/include/menu.php +++ b/include/menu.php @@ -299,7 +299,7 @@ function menu_add_item($menu_id, $uid, $arr) { $channel = get_app()->get_channel(); } - $acl = new Zotlabs\Access\AccessList($channel); + $acl = new AccessList($channel); $acl->set_from_array($arr); $p = $acl->get(); @@ -340,7 +340,7 @@ function menu_edit_item($menu_id, $uid, $arr) { $channel = get_app()->get_channel(); } - $acl = new Zotlabs\Access\AccessList($channel); + $acl = new AccessList($channel); $acl->set_from_array($arr); $p = $acl->get(); -- cgit v1.2.3