From: Robin Pepermans Date: Mon, 12 Sep 2011 20:08:23 +0000 (+0000) Subject: Remove unused variable and update code comment per r96888. X-Git-Tag: 1.31.0-rc.0~27709 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=203a49c01335e78f181e0f52ec0dfeb04a3bf66b;p=lhc%2Fweb%2Fwiklou.git Remove unused variable and update code comment per r96888. --- diff --git a/includes/CategoryPage.php b/includes/CategoryPage.php index c833886a70..8e7ee64ca7 100644 --- a/includes/CategoryPage.php +++ b/includes/CategoryPage.php @@ -174,10 +174,8 @@ class CategoryViewer { $r = wfMsgExt( 'category-empty', array( 'parse' ) ); } - $pageLang = $this->title->getPageLanguage(); $langAttribs = array( 'lang' => $wgLang->getCode(), 'dir' => $wgLang->getDir() ); - # close the previous div, show the headings in user language, - # then open a new div with the page content language again + # put a div around the headings which are in the user language $r = Html::openElement( 'div', $langAttribs ) . $r . ''; wfProfileOut( __METHOD__ );