diff options
author | zotlabs <mike@macgirvin.com> | 2017-03-25 13:07:46 -0700 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-03-31 10:26:06 +0200 |
commit | 6e5a06421f7c841718196ac9e80d4b0c5221ce6a (patch) | |
tree | 4b9083bc70f3b52bd1e8ca39eb9ae4435a2f04b2 /Zotlabs/Module | |
parent | 5f0004b416b81f546546d719d8206da52efb1ac1 (diff) | |
download | volse-hubzilla-6e5a06421f7c841718196ac9e80d4b0c5221ce6a.tar.gz volse-hubzilla-6e5a06421f7c841718196ac9e80d4b0c5221ce6a.tar.bz2 volse-hubzilla-6e5a06421f7c841718196ac9e80d4b0c5221ce6a.zip |
get rid of 'davguest' and allow for project specific DB updates (currently db updates are common between all possible projects/subprojects/forks).
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Cloud.php | 2 | ||||
-rw-r--r-- | Zotlabs/Module/Filestorage.php | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/Zotlabs/Module/Cloud.php b/Zotlabs/Module/Cloud.php index 2b6d7bcbe..7370eeda3 100644 --- a/Zotlabs/Module/Cloud.php +++ b/Zotlabs/Module/Cloud.php @@ -60,11 +60,9 @@ class Cloud extends \Zotlabs\Web\Controller { $_SERVER['QUERY_STRING'] = str_replace(array('?f=', '&f='), array('', ''), $_SERVER['QUERY_STRING']); $_SERVER['QUERY_STRING'] = strip_zids($_SERVER['QUERY_STRING']); - $_SERVER['QUERY_STRING'] = preg_replace('/[\?&]davguest=(.*?)([\?&]|$)/ism', '', $_SERVER['QUERY_STRING']); $_SERVER['REQUEST_URI'] = str_replace(array('?f=', '&f='), array('', ''), $_SERVER['REQUEST_URI']); $_SERVER['REQUEST_URI'] = strip_zids($_SERVER['REQUEST_URI']); - $_SERVER['REQUEST_URI'] = preg_replace('/[\?&]davguest=(.*?)([\?&]|$)/ism', '', $_SERVER['REQUEST_URI']); $rootDirectory = new \Zotlabs\Storage\Directory('/', $auth); diff --git a/Zotlabs/Module/Filestorage.php b/Zotlabs/Module/Filestorage.php index 874445145..785dff394 100644 --- a/Zotlabs/Module/Filestorage.php +++ b/Zotlabs/Module/Filestorage.php @@ -130,7 +130,7 @@ class Filestorage extends \Zotlabs\Web\Controller { $f = $r[0]; $channel = \App::get_channel(); - $cloudpath = get_cloudpath($f) . (intval($f['is_dir']) ? '?f=&davguest=1' : ''); + $cloudpath = get_cloudpath($f); $parentpath = get_parent_cloudpath($channel['channel_id'], $channel['channel_address'], $f['hash']); $aclselect_e = populate_acl($f, false, \Zotlabs\Lib\PermissionDescription::fromGlobalPermission('view_storage')); |