From 203a49c01335e78f181e0f52ec0dfeb04a3bf66b Mon Sep 17 00:00:00 2001 From: Robin Pepermans Date: Mon, 12 Sep 2011 20:08:23 +0000 Subject: [PATCH] Remove unused variable and update code comment per r96888. --- includes/CategoryPage.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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__ ); -- 2.20.1