Fix broken fileExistsBatch() in ForeignAPIRepo since r51673
authorChad Horohoe <demon@users.mediawiki.org>
Thu, 13 Jan 2011 00:11:02 +0000 (00:11 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Thu, 13 Jan 2011 00:11:02 +0000 (00:11 +0000)
includes/filerepo/ForeignAPIRepo.php

index e903e55..0c36b03 100644 (file)
@@ -118,7 +118,7 @@ class ForeignAPIRepo extends FileRepo {
                        }
                }
 
-               $results = $this->fetchImageQuery( array( 'titles' => implode( $files, '|' ),
+               $data = $this->fetchImageQuery( array( 'titles' => implode( $files, '|' ),
                                                                                        'prop' => 'imageinfo' ) );
                if( isset( $data['query']['pages'] ) ) {
                        $i = 0;