aboutsummaryrefslogtreecommitdiffstats
path: root/mod/filestorage.php
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2013-09-18 02:49:14 +0100
committerThomas Willingham <founder@kakste.com>2013-09-18 02:49:14 +0100
commit7f4b865c2bbdf481fa94639518026d70a8bf9492 (patch)
tree6a5866f930ceb62a83e7566e4b47befbbe02a158 /mod/filestorage.php
parent8542127274f7a856a9733254889c4e1a24903324 (diff)
downloadvolse-hubzilla-7f4b865c2bbdf481fa94639518026d70a8bf9492.tar.gz
volse-hubzilla-7f4b865c2bbdf481fa94639518026d70a8bf9492.tar.bz2
volse-hubzilla-7f4b865c2bbdf481fa94639518026d70a8bf9492.zip
Didn't git add again after fixing typo...
Diffstat (limited to 'mod/filestorage.php')
-rw-r--r--mod/filestorage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/filestorage.php b/mod/filestorage.php
index 12b1db1d9..5e1e61f42 100644
--- a/mod/filestorage.php
+++ b/mod/filestorage.php
@@ -38,7 +38,7 @@ function filestorage_content(&$a) {
// TODO This will also need to check for files on disk and delete them from there as well as the DB.
if ((argc() > 3 && argv(3) === 'delete') ? true : false);{
- if(! $perms['view_storage']) {
+ if(! $perms['write_storage']) {
notice( t('Permission denied. VS.') . EOL);
return;
}