aboutsummaryrefslogtreecommitdiffstats
path: root/mod/events.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/events.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/events.php')
-rwxr-xr-xmod/events.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/events.php b/mod/events.php
index b07ffa184..ed9f0f2e3 100755
--- a/mod/events.php
+++ b/mod/events.php
@@ -118,7 +118,7 @@ function events_post(&$a) {
$channel = $a->get_channel();
- $acl = new Zotlabs\Access\AccessList(false);
+ $acl = new AccessList(false);
if($event_id) {
$x = q("select * from event where id = %d and uid = %d limit 1",
@@ -422,7 +422,7 @@ function events_content(&$a) {
require_once('include/acl_selectors.php');
- $acl = new Zotlabs\Access\AccessList($channel);
+ $acl = new AccessList($channel);
$perm_defaults = $acl->get();
$tpl = get_markup_template('event_form.tpl');