Fix scanFile signature to avoid boring warning
This commit is contained in:
parent
709eca2085
commit
9c06975bd5
1 changed files with 3 additions and 1 deletions
4
apps/files_sharing/lib/external/scanner.php
vendored
4
apps/files_sharing/lib/external/scanner.php
vendored
|
@ -48,9 +48,11 @@ class Scanner extends \OC\Files\Cache\Scanner {
|
|||
* @param int $reuseExisting
|
||||
* @param int $parentId
|
||||
* @param array | null $cacheData existing data in the cache for the file to be scanned
|
||||
* @param bool $lock set to false to disable getting an additional read lock during scanning
|
||||
* @param array | null $cacheData existing data in the cache for the file to be scanned
|
||||
* @return array an array of metadata of the scanned file
|
||||
*/
|
||||
public function scanFile($file, $reuseExisting = 0, $parentId = -1, $cacheData = null) {
|
||||
public function scanFile($file, $reuseExisting = 0, $parentId = -1, $cacheData = null, $lock = true) {
|
||||
try {
|
||||
return parent::scanFile($file, $reuseExisting);
|
||||
} catch (ForbiddenException $e) {
|
||||
|
|
Loading…
Reference in a new issue