Index: trunk/phase3/includes/filerepo/FileRepo.php |
— | — | @@ -133,10 +133,10 @@ |
134 | 134 | * @param array $titles, an array of titles |
135 | 135 | * @param int $flags |
136 | 136 | */ |
137 | | - function findFiles( $titles, $flags ) { |
| 137 | + function findFiles( $titles ) { |
138 | 138 | $result = array(); |
139 | 139 | foreach ( $titles as $index => $title ) { |
140 | | - $file = $this->findFile( $title, $flags ); |
| 140 | + $file = $this->findFile( $title ); |
141 | 141 | if ( $file ) |
142 | 142 | $result[$file->getTitle()->getDBkey()] = $file; |
143 | 143 | } |
Index: trunk/phase3/includes/filerepo/LocalRepo.php |
— | — | @@ -164,8 +164,7 @@ |
165 | 165 | /* |
166 | 166 | * Find many files using one query |
167 | 167 | */ |
168 | | - function findFiles( $titles, $flags ) { |
169 | | - // FIXME: Comply with $flags |
| 168 | + function findFiles( $titles ) { |
170 | 169 | // FIXME: Only accepts a $titles array where the keys are the sanitized |
171 | 170 | // file names. |
172 | 171 | |