Browse Source

fix external share scanner not propagating locking-opt-out

Signed-off-by: Robin Appelman <robin@icewind.nl>
tags/v25.0.0beta1
Robin Appelman 1 year ago
parent
commit
8367b99c59
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      apps/files_sharing/lib/External/Scanner.php

+ 1
- 1
apps/files_sharing/lib/External/Scanner.php View 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) {

Loading…
Cancel
Save