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 /include/widgets.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 'include/widgets.php')
-rw-r--r-- | include/widgets.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/widgets.php b/include/widgets.php index c79d2a6c0..6c1df3022 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -604,7 +604,7 @@ function widget_photo_albums($arr) { if(! $a->profile['profile_uid']) return ''; $channelx = channelx_by_n($a->profile['profile_uid']); - if((! $channelx) || (! perm_is_allowed($a->profile['profile_uid'], get_observer_hash(), 'view_photos'))) + if((! $channelx) || (! perm_is_allowed($a->profile['profile_uid'], get_observer_hash(), 'view_storage'))) return ''; require_once('include/photos.php'); |