aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-21 16:49:49 -0800
committerredmatrix <git@macgirvin.com>2016-02-21 16:49:49 -0800
commitf1564b4cff5a584d37b12000f68014df49e683d9 (patch)
treea96bcae8ace67e2e15c7579dafe96f504d117b38 /mod/photos.php
parentc9252d49f7f756fe734b2bcc456726730a035b1a (diff)
downloadvolse-hubzilla-f1564b4cff5a584d37b12000f68014df49e683d9.tar.gz
volse-hubzilla-f1564b4cff5a584d37b12000f68014df49e683d9.tar.bz2
volse-hubzilla-f1564b4cff5a584d37b12000f68014df49e683d9.zip
retry the move of AccessList to composer format (one or more third-party plugins will likely break as a result)
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');