diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-06-10 15:42:37 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-06-10 15:42:37 +0200 |
commit | 6b1d8a56bbff688107f86a4adb67495de7c01e9d (patch) | |
tree | f72b43dbfd618c4dcc6076e2236c8853f3b914a2 | |
parent | 054083b9cd13244842f8664601d8566593f9737d (diff) | |
download | nextcloud-server-6b1d8a56bbff688107f86a4adb67495de7c01e9d.tar.gz nextcloud-server-6b1d8a56bbff688107f86a4adb67495de7c01e9d.zip |
remove unused argument
-rw-r--r-- | lib/private/files/cache/scanner.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/private/files/cache/scanner.php b/lib/private/files/cache/scanner.php index 3f681e57310..89fa6b8cc13 100644 --- a/lib/private/files/cache/scanner.php +++ b/lib/private/files/cache/scanner.php @@ -89,10 +89,9 @@ class Scanner extends BasicEmitter { * * @param string $file * @param int $reuseExisting - * @param bool $parentExistsInCache * @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) ) { @@ -242,7 +241,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; |