diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-12-17 16:09:41 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-12-17 16:09:41 +0100 |
commit | e656af4c83481b62648335c5eccdf30f8fe56f88 (patch) | |
tree | 41b111c217a4d3ef667d043ef2e1ae49605ad374 /apps | |
parent | 9ddd5033d4649da6e1560434e69ff806fdbf8c11 (diff) | |
download | nextcloud-server-e656af4c83481b62648335c5eccdf30f8fe56f88.tar.gz nextcloud-server-e656af4c83481b62648335c5eccdf30f8fe56f88.zip |
Root always exists
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/lib/external/storage.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/external/storage.php b/apps/files_sharing/lib/external/storage.php index 3f1d631a35f..306a7b8db8a 100644 --- a/apps/files_sharing/lib/external/storage.php +++ b/apps/files_sharing/lib/external/storage.php @@ -167,6 +167,14 @@ class Storage extends DAV implements ISharedStorage { } } + public function file_exists($path) { + if ($path === '') { + return true; + } else { + return parent::file_exists($path); + } + } + /** * check if the configured remote is a valid ownCloud instance * |