Skip to content
Snippets Groups Projects
Commit 9a17006b authored by Morris Jobke's avatar Morris Jobke
Browse files

Merge pull request #13506 from owncloud/fix-scanner-s2s-trashbin

avoid $this->cache being null 
parents 84bb4cc2 87a754c7
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment