Remove unused private "filterPage" function from specials/SpecialExport.php
authorSam Reed <reedy@users.mediawiki.org>
Tue, 5 Jan 2010 22:53:00 +0000 (22:53 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Tue, 5 Jan 2010 22:53:00 +0000 (22:53 +0000)
Unused and private

Remove extra whitespace line also

includes/specials/SpecialExport.php

index bce2a10..b9a44d4 100644 (file)
@@ -275,8 +275,7 @@ class SpecialExport extends SpecialPage {
                        $lb->closeAll();
                }
        }
-       
-       
+
        private function getPagesFromCategory( $title ) {
                global $wgContLang;
                
@@ -411,12 +410,5 @@ class SpecialExport extends SpecialPage {
                }
                return $pageSet;
        }
-       
-       /**
-        * Callback function to remove empty strings from the pages array.
-        */
-       private function filterPage( $page ) {
-               return $page !== '' && $page !== null;
-       }
 }