]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove unused argument
authorRobin Appelman <icewind@owncloud.com>
Tue, 10 Jun 2014 13:42:37 +0000 (15:42 +0200)
committerRobin Appelman <icewind@owncloud.com>
Tue, 10 Jun 2014 13:42:37 +0000 (15:42 +0200)
lib/private/files/cache/scanner.php

index 3f681e573100538e32dad68ce381591635ac7567..89fa6b8cc139ab7e7d528a4fb9606d286a2cadbb 100644 (file)
@@ -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;