maintenance/Maintenance.php 1 location
|
@@ 500-506 (lines=7) @@
|
497 |
|
* @since 1.24 |
498 |
|
* @return Config |
499 |
|
*/ |
500 |
|
public function getConfig() { |
501 |
|
if ( $this->config === null ) { |
502 |
|
$this->config = ConfigFactory::getDefaultInstance()->makeConfig( 'main' ); |
503 |
|
} |
504 |
|
|
505 |
|
return $this->config; |
506 |
|
} |
507 |
|
|
508 |
|
/** |
509 |
|
* @since 1.24 |
includes/resourceloader/ResourceLoaderModule.php 1 location
|
@@ 187-194 (lines=8) @@
|
184 |
|
* @return Config |
185 |
|
* @since 1.24 |
186 |
|
*/ |
187 |
|
public function getConfig() { |
188 |
|
if ( $this->config === null ) { |
189 |
|
// Ugh, fall back to default |
190 |
|
$this->config = ConfigFactory::getDefaultInstance()->makeConfig( 'main' ); |
191 |
|
} |
192 |
|
|
193 |
|
return $this->config; |
194 |
|
} |
195 |
|
|
196 |
|
/** |
197 |
|
* @param Config $config |