diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-06-10 15:42:37 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-06-12 15:07:05 +0200 |
commit | eeca726d28272978f3a3ce425edd28a09556ce54 (patch) | |
tree | f92f9dcfb93f5fbe1fe32c78ca77d3e40a886814 /lib/private | |
parent | e793a87954e19424f1f1a9d6c3b472c5029a587e (diff) | |
download | nextcloud-server-eeca726d28272978f3a3ce425edd28a09556ce54.tar.gz nextcloud-server-eeca726d28272978f3a3ce425edd28a09556ce54.zip |
remove unused argument
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/files/cache/scanner.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/private/files/cache/scanner.php b/lib/private/files/cache/scanner.php index afbf69fb1e2..abba659931a 100644 --- a/lib/private/files/cache/scanner.php +++ b/lib/private/files/cache/scanner.php @@ -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; |