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:
Timo Tijhof 2019-01-22 19:31:41 -08:00
parent a3ca2c3e16
commit 9cc0ca983c
1 changed files with 1 additions and 4 deletions

View File

@ -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'],