Index: trunk/phase3/includes/filerepo/RepoGroup.php |
— | — | @@ -82,7 +82,7 @@ |
83 | 83 | } |
84 | 84 | return false; |
85 | 85 | } |
86 | | - function findFiles( $titles, $flags = 0 ) { |
| 86 | + function findFiles( $titles ) { |
87 | 87 | if ( !$this->reposInitialised ) { |
88 | 88 | $this->initialiseRepos(); |
89 | 89 | } |
— | — | @@ -95,7 +95,7 @@ |
96 | 96 | $titleObjs[$title->getDBkey()] = $title; |
97 | 97 | } |
98 | 98 | |
99 | | - $images = $this->localRepo->findFiles( $titleObjs, $flags ); |
| 99 | + $images = $this->localRepo->findFiles( $titleObjs ); |
100 | 100 | |
101 | 101 | foreach ( $this->foreignRepos as $repo ) { |
102 | 102 | // Remove found files from $titleObjs |
— | — | @@ -103,7 +103,7 @@ |
104 | 104 | if ( isset( $titleObjs[$name] ) ) |
105 | 105 | unset( $titleObjs[$name] ); |
106 | 106 | |
107 | | - $images = array_merge( $images, $repo->findFiles( $titleObjs, $flags ) ); |
| 107 | + $images = array_merge( $images, $repo->findFiles( $titleObjs ) ); |
108 | 108 | } |
109 | 109 | return $images; |
110 | 110 | } |