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:50:15 +0300
committerGitHub <noreply@github.com>2022-01-07 12:50:15 +0300
commitf9c6a106f4ec158dead4234d6e35f8040797d5e7 (patch)
tree8db50d8e498596cbfabfe2b3c01642d2095144b3
parent42f195bde99e667321c3a5b23b1817e052a769d7 (diff)
parent22ea174f96bea625b08cac43a6adccd693baafeb (diff)
Merge pull request #30523 from nextcloud/backport/30492/stable22
[stable22] 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();