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-05 14:06:03 +0300
committerGitHub <noreply@github.com>2022-01-05 14:06:03 +0300
commitf9b06def78c60e92c2128a9e1b38074986ff78c6 (patch)
treea68bf437ee2541008e79449fa01d4f5e858f76df /apps/files_sharing/lib
parentd232dc85ffcbcca2ea203469435b16e5e10126ec (diff)
parent66b1963b6e2ce98e19f1cbe30505a313513103fb (diff)
Merge pull request #30492 from nextcloud/bugfix/noid/fix-parameter-passing
Fix passing on the parameter
Diffstat (limited to 'apps/files_sharing/lib')
-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();