public function __construct() {
parent::__construct();
- $this->mDescription = "Clean up abandoned files in temporary uploaded file stash";
+ $this->addDescription( 'Clean up abandoned files in temporary uploaded file stash' );
$this->setBatchSize( 50 );
}
$this->output( "Failed removing stashed upload with key: $key ($type)\n" );
}
if ( $i % 100 == 0 ) {
+ wfWaitForSlaves();
$this->output( "$i\n" );
}
}