diff options
author | Joas Schilling <coding@schilljs.com> | 2022-01-05 11:30:20 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-01-07 11:30:26 +0300 |
commit | 22ea174f96bea625b08cac43a6adccd693baafeb (patch) | |
tree | 8db50d8e498596cbfabfe2b3c01642d2095144b3 /apps | |
parent | 42f195bde99e667321c3a5b23b1817e052a769d7 (diff) |
Fix passing on the parameter
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/lib/External/Scanner.php | 2 |
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(); |