avoid $this->cache being null - fixes #13491
This commit is contained in:
parent
2fe6513557
commit
87a754c72e
|
@ -103,7 +103,7 @@ class Storage extends DAV implements ISharedStorage {
|
|||
}
|
||||
|
||||
public function getCache($path = '', $storage = null) {
|
||||
if (!$storage) {
|
||||
if (is_null($this->cache)) {
|
||||
$this->cache = new Cache($this, $this->remote, $this->remoteUser);
|
||||
}
|
||||
return $this->cache;
|
||||
|
|
Loading…
Reference in New Issue