summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-01-05 09:30:20 +0100
committerJoas Schilling <coding@schilljs.com>2022-01-07 09:32:20 +0100
commit799b4d5a568f31e739b023efbbe34dc8be592466 (patch)
tree8489d539856c2ac867b0674b0ed260def84c8ba1
parent1c8c075f324ffaa7b59d1dc958af950168846f0c (diff)
downloadnextcloud-server-799b4d5a568f31e739b023efbbe34dc8be592466.tar.gz
nextcloud-server-799b4d5a568f31e739b023efbbe34dc8be592466.zip
Fix passing on the parameter
Signed-off-by: Joas Schilling <coding@schilljs.com>
-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 71187707ad7..483f1041c01 100644
--- a/apps/files_sharing/lib/External/Scanner.php
+++ b/apps/files_sharing/lib/External/Scanner.php
@@ -39,7 +39,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();