r92362 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92361‎ | r92362 | r92363 >
Date:15:34, 16 July 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
rem dead var
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php
@@ -724,8 +724,6 @@
725725 * @return string
726726 */
727727 protected function showFormatOptions( $format, array $paramValues ) {
728 - $text = '';
729 -
730728 $printer = SMWQueryProcessor::getResultPrinter( $format, SMWQueryProcessor::SPECIAL_PAGE );
731729
732730 $params = method_exists( $printer, 'getValidatorParameters' ) ? $printer->getValidatorParameters() : array();
@@ -772,8 +770,9 @@
773771 ),
774772 $rowHtml
775773 );
 774+
776775 $rowHtml = '';
777 - }
 776+ }
778777
779778 return $resultHtml;
780779 }