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/editblock.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/editblock.php')
-rw-r--r-- | mod/editblock.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/editblock.php b/mod/editblock.php index 818dc5ec7..b4d954ef5 100644 --- a/mod/editblock.php +++ b/mod/editblock.php @@ -137,7 +137,7 @@ function editblock_content(&$a) { '$underline' => t('Underline'), '$quote' => t('Quote'), '$code' => t('Code'), - '$writefiles' => (perm_is_allowed($owner, get_observer_hash(), 'post_photos') || perm_is_allowed($owner, get_observer_hash(), 'write_storage')), + '$writefiles' => perm_is_allowed($owner, get_observer_hash(), 'write_storage'), '$upload' => t('Upload photo'), '$attach' => t('Attach file'), '$weblink' => t('Insert web link'), |