aboutsummaryrefslogtreecommitdiffstats
path: root/mod/editblock.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/editblock.php')
-rw-r--r--mod/editblock.php2
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'),