]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix external share scanner not propagating locking-opt-out 32852/head
authorRobin Appelman <robin@icewind.nl>
Wed, 3 Aug 2022 15:12:30 +0000 (17:12 +0200)
committerRobin Appelman <robin@icewind.nl>
Wed, 3 Aug 2022 15:12:30 +0000 (17:12 +0200)
Signed-off-by: Robin Appelman <robin@icewind.nl>
apps/files_sharing/lib/External/Scanner.php

index f4084ac69abf76229bf8f24a87e71c65a5cae054..e3336c69a0510cd1bc9e13041ab5505e72703296 100644 (file)
@@ -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) {