mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
remove unused argument
This commit is contained in:
parent
e793a87954
commit
eeca726d28
1 changed files with 3 additions and 4 deletions
7
lib/private/files/cache/scanner.php
vendored
7
lib/private/files/cache/scanner.php
vendored
|
|
@ -94,10 +94,9 @@ class Scanner extends BasicEmitter {
|
|||
*
|
||||
* @param string $file
|
||||
* @param int $reuseExisting
|
||||
* @param bool $parentExistsInCache
|
||||
* @return array with metadata of the scanned file
|
||||
* @return array an array of metadata of the scanned file
|
||||
*/
|
||||
public function scanFile($file, $reuseExisting = 0, $parentExistsInCache = false) {
|
||||
public function scanFile($file, $reuseExisting = 0) {
|
||||
if (!self::isPartialFile($file)
|
||||
and !Filesystem::isFileBlacklisted($file)
|
||||
) {
|
||||
|
|
@ -248,7 +247,7 @@ class Scanner extends BasicEmitter {
|
|||
if (!Filesystem::isIgnoredDir($file)) {
|
||||
$newChildren[] = $file;
|
||||
try {
|
||||
$data = $this->scanFile($child, $reuse, true);
|
||||
$data = $this->scanFile($child, $reuse);
|
||||
if ($data) {
|
||||
if ($data['mimetype'] === 'httpd/unix-directory' and $recursive === self::SCAN_RECURSIVE) {
|
||||
$childQueue[] = $child;
|
||||
|
|
|
|||
Loading…
Reference in a new issue