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} */
|
/** {@inheritdoc} */
|
||||||
public function file_exists($path) {
|
public function file_exists($path) {
|
||||||
|
if ($path === '') {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
$this->checkAvailability();
|
$this->checkAvailability();
|
||||||
try {
|
try {
|
||||||
return parent::file_exists($path);
|
return parent::file_exists($path);
|
||||||
|
|
Loading…
Reference in New Issue