Skip to content
Snippets Groups Projects
Commit 1ce911d2 authored by Thomas Müller's avatar Thomas Müller
Browse files

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

The root of a storage always exists
parents b840fc7c 33eb13e4
Branches
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment