Fix passing on the parameter

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/30492/head
Joas Schilling 2 years ago
parent d232dc85ff
commit 66b1963b6e
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA

@ -37,7 +37,7 @@ class Scanner extends \OC\Files\Cache\Scanner {
/** {@inheritDoc} */
public function scan($path, $recursive = self::SCAN_RECURSIVE, $reuse = -1, $lock = true) {
if (!$this->storage->remoteIsOwnCloud()) {
return parent::scan($path, $recursive, $recursive, $lock);
return parent::scan($path, $recursive, $reuse, $lock);
}
$this->scanAll();

Loading…
Cancel
Save