mirror of
https://github.com/nextcloud/server.git
synced 2026-02-26 03:11:28 -05:00
Fix passing on the parameter
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
551e1a799a
commit
3ca762e0af
1 changed files with 1 additions and 1 deletions
2
apps/files_sharing/lib/External/Scanner.php
vendored
2
apps/files_sharing/lib/External/Scanner.php
vendored
|
|
@ -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…
Reference in a new issue