aboutsummaryrefslogtreecommitdiffstats
path: root/mod/filestorage.php
diff options
context:
space:
mode:
authormarijus <mario@localhost.localdomain>2014-01-27 10:57:46 +0100
committermarijus <mario@localhost.localdomain>2014-01-27 10:57:46 +0100
commitb39475db86eca7b5e5615d377d8adc64e6a33056 (patch)
tree7713842c2cdbd2767d52cf0263375da62133c534 /mod/filestorage.php
parent4ce6335364a5c86cac97bcc43af0dc6bfa38d114 (diff)
parentd67fdd129921549b6a1e7cb5e5ebea7bdc38bf0e (diff)
downloadvolse-hubzilla-b39475db86eca7b5e5615d377d8adc64e6a33056.tar.gz
volse-hubzilla-b39475db86eca7b5e5615d377d8adc64e6a33056.tar.bz2
volse-hubzilla-b39475db86eca7b5e5615d377d8adc64e6a33056.zip
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'mod/filestorage.php')
-rw-r--r--mod/filestorage.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/filestorage.php b/mod/filestorage.php
index 18760dd45..3e53a1e93 100644
--- a/mod/filestorage.php
+++ b/mod/filestorage.php
@@ -69,7 +69,6 @@ function filestorage_content(&$a) {
return;
}
- // 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') {
if(! $perms['write_storage']) {
@@ -110,7 +109,7 @@ function filestorage_content(&$a) {
$channel = $a->get_channel();
- $cloudpath = get_cloudpath($f);
+ $cloudpath = get_cloudpath($f) . (($f['flags'] & ATTACH_FLAG_DIR) ? '?f=&davguest=1' : '');
$aclselect_e = populate_acl($f);
$is_a_dir = (($f['flags'] & ATTACH_FLAG_DIR) ? true : false);