Merge pull request #19592 from owncloud/availability-root-always-exists
The root of a storage always exists
This commit is contained in:
commit
1ce911d2f9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue