aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photo.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-19 17:53:52 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-07-19 17:53:52 -0700
commitec00c5b18a1efea64517b18fa12bb9df6f0b95f7 (patch)
tree8a0bc1c5d6e920bbc32b0deaa25f7d3be677a2b3 /mod/photo.php
parented3d9d1f80773417b0fba491ed762b90be340863 (diff)
downloadvolse-hubzilla-ec00c5b18a1efea64517b18fa12bb9df6f0b95f7.tar.gz
volse-hubzilla-ec00c5b18a1efea64517b18fa12bb9df6f0b95f7.tar.bz2
volse-hubzilla-ec00c5b18a1efea64517b18fa12bb9df6f0b95f7.zip
the view_photos and post_photos permissions are redundant and are now mapped to view_storage and write_storage
Diffstat (limited to 'mod/photo.php')
-rw-r--r--mod/photo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/photo.php b/mod/photo.php
index 2e16fc1d9..e8cd95f1c 100644
--- a/mod/photo.php
+++ b/mod/photo.php
@@ -123,7 +123,7 @@ function photo_init(&$a) {
);
if($r) {
- $allowed = (($r[0]['uid']) ? perm_is_allowed($r[0]['uid'],$observer_xchan,'view_photos') : true);
+ $allowed = (($r[0]['uid']) ? perm_is_allowed($r[0]['uid'],$observer_xchan,'view_storage') : true);
$sql_extra = permissions_sql($r[0]['uid']);