* @param array $titles, an array of titles
* @param int $flags
*/
- function findFiles( $titles, $flags ) {
+ function findFiles( $titles ) {
$result = array();
foreach ( $titles as $index => $title ) {
- $file = $this->findFile( $title, $flags );
+ $file = $this->findFile( $title );
if ( $file )
$result[$file->getTitle()->getDBkey()] = $file;
}
/*
* Find many files using one query
*/
- function findFiles( $titles, $flags ) {
- // FIXME: Comply with $flags
+ function findFiles( $titles ) {
// FIXME: Only accepts a $titles array where the keys are the sanitized
// file names.