diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-07-19 17:53:52 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-07-19 17:53:52 -0700 |
commit | ec00c5b18a1efea64517b18fa12bb9df6f0b95f7 (patch) | |
tree | 8a0bc1c5d6e920bbc32b0deaa25f7d3be677a2b3 /mod/photo.php | |
parent | ed3d9d1f80773417b0fba491ed762b90be340863 (diff) | |
download | volse-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.php | 2 |
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']); |