Merge pull request #14929 from owncloud/s2s-scanner-warnings

Fix scanFile signature warnings
This commit is contained in:
Vincent Petry 2015-03-17 09:51:45 +01:00
commit 6525911439

View file

@ -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) {