maintenance/Maintenance.php 1 location
|
@@ 499-505 (lines=7) @@
|
496 |
|
* @since 1.24 |
497 |
|
* @return Config |
498 |
|
*/ |
499 |
|
public function getConfig() { |
500 |
|
if ( $this->config === null ) { |
501 |
|
$this->config = ConfigFactory::getDefaultInstance()->makeConfig( 'main' ); |
502 |
|
} |
503 |
|
|
504 |
|
return $this->config; |
505 |
|
} |
506 |
|
|
507 |
|
/** |
508 |
|
* @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 |