diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-29 14:14:56 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-29 14:14:56 +0100 |
commit | 1ce911d2f994d105660598ce518b02238502258f (patch) | |
tree | 9ce11fbc20388c2c9e02506e7cfafc0297fc90fd | |
parent | b840fc7c5896cc638d2ada2c6315e3852b55405e (diff) | |
parent | 33eb13e415e73ee12c20aa39e3c2a0ce63684809 (diff) | |
download | nextcloud-server-1ce911d2f994d105660598ce518b02238502258f.tar.gz nextcloud-server-1ce911d2f994d105660598ce518b02238502258f.zip |
Merge pull request #19592 from owncloud/availability-root-always-exists
The root of a storage always exists
-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); |