From: Derick Alangi Date: Thu, 11 Apr 2019 20:20:35 +0000 (+0100) Subject: OutputPage: Remove unused variable left out after a refactor X-Git-Tag: 1.34.0-rc.0~2045^2 X-Git-Url: http://git.cyclocoop.org/data/%27%20.%20mediabox_timestamp%28find_in_path%28%27javascript/%7B%24www_url%7Dadmin/compta/operations/%40%20%27info_etape_suivante_2%27%20=%3E%20%27You%20can%20move%20on%20to%20the%20next%20step.%27%2C%20%27info_exceptions_proxy%27%20=%3E%20%27Exceptions%20for%20the%20proxy%27%2C%20%27info_exportation_base%27%20=%3E%20%27export%20database%20to%20%40archive%40%27%2C-%27info_facilite_suivi_activite%27%20=%3E%20%27To%20simplify%20monitoring%20of%20the%20site/%27s%20editorial;-%20%20activities%2C%20SPIP%20can%20send%20rmail%20notifications%2C%20e.g.%20to%20an%20editors/%27.%28%24current%20%3E%202?a=commitdiff_plain;h=6a849ff20486ec793fafe0e94dc066171d6c2dbe;p=lhc%2Fweb%2Fwiklou.git OutputPage: Remove unused variable left out after a refactor This variable was added in I0e18dc7fdbf133f3e400 (2017) and later removed in I11b390f2e4f5e7db8b4 (2018) but the $sk was left which now makes it used. Hence, cleaning this up. Change-Id: I277b9de23409da3429a3b74d42e8ab9e9d5f5399 --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index b0000ab027..1da8ac80bc 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -2678,10 +2678,6 @@ class OutputPage extends ContextSource { $response->header( 'Content-language: ' . MediaWikiServices::getInstance()->getContentLanguage()->getHtmlCode() ); - if ( !$this->mArticleBodyOnly ) { - $sk = $this->getSkin(); - } - $linkHeader = $this->getLinkHeader(); if ( $linkHeader ) { $response->header( $linkHeader );