summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2022-08-03 17:12:30 +0200
committerRobin Appelman <robin@icewind.nl>2022-08-03 17:12:30 +0200
commit8367b99c59d4ef92d597ad963dd64100892b885c (patch)
tree4fc1fb1fb85894dd1133e3494cebb44042ff3e96 /apps
parent6ba9a4a752d6c88d96022caa753af82de6bd6249 (diff)
downloadnextcloud-server-8367b99c59d4ef92d597ad963dd64100892b885c.tar.gz
nextcloud-server-8367b99c59d4ef92d597ad963dd64100892b885c.zip
fix external share scanner not propagating locking-opt-out
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps')
-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 f4084ac69ab..e3336c69a05 100644
--- a/apps/files_sharing/lib/External/Scanner.php
+++ b/apps/files_sharing/lib/External/Scanner.php
@@ -54,7 +54,7 @@ class Scanner extends \OC\Files\Cache\Scanner {
*/
public function scanFile($file, $reuseExisting = 0, $parentId = -1, $cacheData = null, $lock = true, $data = null) {
try {
- return parent::scanFile($file, $reuseExisting);
+ return parent::scanFile($file, $reuseExisting, $parentId, $cacheData, $lock, $data);
} catch (ForbiddenException $e) {
$this->storage->checkStorageAvailability();
} catch (NotFoundException $e) {