Skip to content

Commit b9b586a

Browse files
Merge pull request #30524 from nextcloud/backport/30492/stable21
[stable21] Fix passing on the parameter
2 parents 1c8c075 + 799b4d5 commit b9b586a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files_sharing/lib/External/Scanner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Scanner extends \OC\Files\Cache\Scanner {
3939
/** {@inheritDoc} */
4040
public function scan($path, $recursive = self::SCAN_RECURSIVE, $reuse = -1, $lock = true) {
4141
if (!$this->storage->remoteIsOwnCloud()) {
42-
return parent::scan($path, $recursive, $recursive, $lock);
42+
return parent::scan($path, $recursive, $reuse, $lock);
4343
}
4444

4545
$this->scanAll();

0 commit comments

Comments
 (0)