From 379dbcff48f0fe2993633413b54e0e8c7b4a94f1 Mon Sep 17 00:00:00 2001 From: Ilmari Karonen Date: Sun, 14 Dec 2008 03:43:10 +0000 Subject: [PATCH] Followup to r44525: remove the broken $flags parameter from RepoGroup::findFiles() too. --- includes/filerepo/RepoGroup.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/filerepo/RepoGroup.php b/includes/filerepo/RepoGroup.php index 4fa4a03440..2303f5814a 100644 --- a/includes/filerepo/RepoGroup.php +++ b/includes/filerepo/RepoGroup.php @@ -82,7 +82,7 @@ class RepoGroup { } return false; } - function findFiles( $titles, $flags = 0 ) { + function findFiles( $titles ) { if ( !$this->reposInitialised ) { $this->initialiseRepos(); } @@ -95,7 +95,7 @@ class RepoGroup { $titleObjs[$title->getDBkey()] = $title; } - $images = $this->localRepo->findFiles( $titleObjs, $flags ); + $images = $this->localRepo->findFiles( $titleObjs ); foreach ( $this->foreignRepos as $repo ) { // Remove found files from $titleObjs @@ -103,7 +103,7 @@ class RepoGroup { if ( isset( $titleObjs[$name] ) ) unset( $titleObjs[$name] ); - $images = array_merge( $images, $repo->findFiles( $titleObjs, $flags ) ); + $images = array_merge( $images, $repo->findFiles( $titleObjs ) ); } return $images; } -- 2.20.1