Merge "misc style issues"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 11 Feb 2013 21:14:30 +0000 (21:14 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 11 Feb 2013 21:14:30 +0000 (21:14 +0000)
1  2 
maintenance/purgeList.php

@@@ -32,7 -32,7 +32,7 @@@ class PurgeList extends Maintenance 
        public function __construct() {
                parent::__construct();
                $this->mDescription = "Send purge requests for listed pages to squid";
 -              $this->addOption( 'purge', 'Whether to update page_touched.' , false, false );
 +              $this->addOption( 'purge', 'Whether to update page_touched.', false, false );
                $this->addOption( 'namespace', 'Namespace number', false, true );
                $this->setBatchSize( 100 );
        }
                if( $this->hasOption( 'namespace' ) ) {
                        $this->purgeNamespace();
                } else {
-                       $this->purgeList();
+                       $this->doPurge();
                }
                $this->output( "Done!\n" );
        }
  
        /** Purge URL coming from stdin */
-       private function purgeList() {
+       private function doPurge() {
                $stdin = $this->getStdin();
                $urls = array();