diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-10-05 17:50:28 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-10-29 11:21:50 +0100 |
commit | 33eb13e415e73ee12c20aa39e3c2a0ce63684809 (patch) | |
tree | e794bf67122b2b0f21bbdf0ded3d7c611aa9ab2d /lib/private/files/storage/wrapper | |
parent | 5bf476efd07d8f6b771f3cbf8ff10e617536263b (diff) | |
download | nextcloud-server-33eb13e415e73ee12c20aa39e3c2a0ce63684809.tar.gz nextcloud-server-33eb13e415e73ee12c20aa39e3c2a0ce63684809.zip |
The root of a storage always exists
Diffstat (limited to 'lib/private/files/storage/wrapper')
-rw-r--r-- | lib/private/files/storage/wrapper/availability.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/files/storage/wrapper/availability.php b/lib/private/files/storage/wrapper/availability.php index 37319a8f7d1..d6ce78f6e44 100644 --- a/lib/private/files/storage/wrapper/availability.php +++ b/lib/private/files/storage/wrapper/availability.php @@ -220,6 +220,9 @@ class Availability extends Wrapper { /** {@inheritdoc} */ public function file_exists($path) { + if ($path === '') { + return true; + } $this->checkAvailability(); try { return parent::file_exists($path); |