aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-20 19:39:54 +1100
committerredmatrix <git@macgirvin.com>2016-02-20 19:39:54 +1100
commita9711895cf254a0ca34b1e3f7c8e75bb832e6973 (patch)
tree3992b498320057a3208e94a2edb14eb999309f42 /mod/photos.php
parent8882ffc0def76a94d403d9ad4986534634785e6c (diff)
downloadvolse-hubzilla-a9711895cf254a0ca34b1e3f7c8e75bb832e6973.tar.gz
volse-hubzilla-a9711895cf254a0ca34b1e3f7c8e75bb832e6973.tar.bz2
volse-hubzilla-a9711895cf254a0ca34b1e3f7c8e75bb832e6973.zip
move accesslist class to namespace
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 944686637..8f44f01b2 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -85,7 +85,7 @@ function photos_post(&$a) {
$owner_record = $s[0];
- $acl = new AccessList($a->data['channel']);
+ $acl = new Zotlabs\Access\AccessList($a->data['channel']);
if((argc() > 3) && (argv(2) === 'album')) {
@@ -595,7 +595,7 @@ function photos_content(&$a) {
if($_is_owner) {
$channel = $a->get_channel();
- $acl = new AccessList($channel);
+ $acl = new Zotlabs\Access\AccessList($channel);
$channel_acl = $acl->get();
$lockstate = (($acl->is_private()) ? 'lock' : 'unlock');