Index: trunk/phase3/includes/filerepo/RepoGroup.php |
— | — | @@ -26,6 +26,7 @@ |
27 | 27 | /** |
28 | 28 | * Get a RepoGroup instance. At present only one instance of RepoGroup is |
29 | 29 | * needed in a MediaWiki invocation, this may change in the future. |
| 30 | + * @return RepoGroup |
30 | 31 | */ |
31 | 32 | static function singleton() { |
32 | 33 | if ( self::$instance ) { |
Index: trunk/phase3/includes/api/ApiQueryAllimages.php |
— | — | @@ -38,6 +38,8 @@ |
39 | 39 | */ |
40 | 40 | class ApiQueryAllimages extends ApiQueryGeneratorBase { |
41 | 41 | |
| 42 | + private $mRepo; |
| 43 | + |
42 | 44 | public function __construct( $query, $moduleName ) { |
43 | 45 | parent::__construct( $query, $moduleName, 'ai' ); |
44 | 46 | $this->mRepo = RepoGroup::singleton()->getLocalRepo(); |