Merge pull request #14929 from owncloud/s2s-scanner-warnings
Fix scanFile signature warnings
This commit is contained in:
commit
6525911439
1 changed files with 1 additions and 1 deletions
2
apps/files_sharing/lib/external/scanner.php
vendored
2
apps/files_sharing/lib/external/scanner.php
vendored
|
@ -33,7 +33,7 @@ class Scanner extends \OC\Files\Cache\Scanner {
|
||||||
* @param int $reuseExisting
|
* @param int $reuseExisting
|
||||||
* @return array an array of metadata of the scanned file
|
* @return array an array of metadata of the scanned file
|
||||||
*/
|
*/
|
||||||
public function scanFile($file, $reuseExisting = 0) {
|
public function scanFile($file, $reuseExisting = 0, $parentId = -1, $cacheData = null) {
|
||||||
try {
|
try {
|
||||||
return parent::scanFile($file, $reuseExisting);
|
return parent::scanFile($file, $reuseExisting);
|
||||||
} catch (ForbiddenException $e) {
|
} catch (ForbiddenException $e) {
|
||||||
|
|
Loading…
Reference in a new issue