From: Ilmari Karonen Date: Sun, 14 Dec 2008 03:43:10 +0000 (+0000) Subject: Followup to r44525: remove the broken $flags parameter from RepoGroup::findFiles... X-Git-Tag: 1.31.0-rc.0~43983 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=379dbcff48f0fe2993633413b54e0e8c7b4a94f1;p=lhc%2Fweb%2Fwiklou.git Followup to r44525: remove the broken $flags parameter from RepoGroup::findFiles() too. --- 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; }