Merge pull request #19592 from owncloud/availability-root-always-exists

The root of a storage always exists
This commit is contained in:
Thomas Müller 2015-10-29 14:14:56 +01:00
commit 1ce911d2f9
1 changed files with 3 additions and 0 deletions

View File

@ -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);