Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2022-01-07 12:49:55 +0300
committerGitHub <noreply@github.com>2022-01-07 12:49:55 +0300
commitdeeee361327e523a07da2298eb44c88051fa87c7 (patch)
treeded560ded1aeffc860e0037ad643850311456935
parent551e1a799a5277e6358fe9e7044585d6085d7da1 (diff)
parent3ca762e0afaea052d521514662a9b3b02bed484b (diff)
Merge pull request #30522 from nextcloud/backport/30492/stable23
[stable23] Fix passing on the parameter
-rw-r--r--apps/files_sharing/lib/External/Scanner.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/External/Scanner.php b/apps/files_sharing/lib/External/Scanner.php
index 8115159d181..54d5a33d517 100644
--- a/apps/files_sharing/lib/External/Scanner.php
+++ b/apps/files_sharing/lib/External/Scanner.php
@@ -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();