PHP deprecated Co-authored-by: hslater <hamish.slater@hallowelt.com>
这个提交包含在:
父节点
37d3bd4769
当前提交
ed164a3548
|
@ -55,10 +55,10 @@ class PropertyDefinitions implements IteratorAggregate {
|
|||
public function __construct( LabelFetcher $labelFetcher, $propertyDefinitionFile = '' ) {
|
||||
$this->labelFetcher = $labelFetcher;
|
||||
$this->propertyDefinitionFile = $propertyDefinitionFile;
|
||||
$this->cfg = MediaWikiServices::getInstance()->getConfigFactory()->makeConfig( 'sespg' );
|
||||
$cfg = MediaWikiServices::getInstance()->getConfigFactory()->makeConfig( 'sespg' );
|
||||
|
||||
if ( $this->propertyDefinitionFile === '' ) {
|
||||
$this->propertyDefinitionFile = $this->cfg->get( 'DefinitionsFile' );
|
||||
$this->propertyDefinitionFile = $cfg->get( 'DefinitionsFile' );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
正在加载...
在新工单中引用