template: Remove is_callable check for getIndicators()
The VectorTemplate class extends BaseTemplate, which has defined this method since MW 1.25. The Vector skin master branch supports MW 1.29+ only. Change-Id: I83c6add9e8c02df028ca5905934e7d367dbe2209
This commit is contained in:
parent
a3ca2c3e16
commit
9cc0ca983c
|
@ -58,10 +58,7 @@ class VectorTemplate extends BaseTemplate {
|
|||
$params = [
|
||||
'html-headelement' => $this->get( 'headelement', '' ),
|
||||
'html-sitenotice' => $this->get( 'sitenotice', null ),
|
||||
'html-indicators' => ( is_callable( [ $this, 'getIndicators' ] )
|
||||
? $this->getIndicators()
|
||||
: ''
|
||||
),
|
||||
'html-indicators' => $this->getIndicators(),
|
||||
'page-langcode' => $this->getSkin()->getTitle()->getPageViewLanguage()->getHtmlCode(),
|
||||
'page-isarticle' => !!$this->data['isarticle'],
|
||||
|
||||
|
|
Loading…
Reference in New Issue