r60698 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60697‎ | r60698 | r60699 >
Date:22:53, 5 January 2010
Author:reedy
Status:ok
Tags:
Comment:
Remove unused private "filterPage" function from specials/SpecialExport.php

Unused and private

Remove extra whitespace line also
Modified paths:
  • /trunk/phase3/includes/specials/SpecialExport.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialExport.php
@@ -275,8 +275,7 @@
276276 $lb->closeAll();
277277 }
278278 }
279 -
280 -
 279+
281280 private function getPagesFromCategory( $title ) {
282281 global $wgContLang;
283282
@@ -411,12 +410,5 @@
412411 }
413412 return $pageSet;
414413 }
415 -
416 - /**
417 - * Callback function to remove empty strings from the pages array.
418 - */
419 - private function filterPage( $page ) {
420 - return $page !== '' && $page !== null;
421 - }
422414 }
423415

Status & tagging log