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

avoid $this->cache being null
remotes/origin/create-share-target-reuse
Morris Jobke 12 years ago
commit 9a17006b93
  1. 2
      apps/files_sharing/lib/external/storage.php

@ -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…
Cancel
Save