$this->addOption(
'mime',
- '(Inefficient!) Only refresh files with this mime type. Can accept wild-card image/*',
+ '(Inefficient!) Only refresh files with this MIME type. Can accept wild-card image/*',
false,
true
);
$leftAlone = 0;
$error = 0;
- $dbw = wfGetDB( DB_MASTER );
+ $dbw = $this->getDB( DB_MASTER );
if ( $this->mBatchSize <= 0 ) {
$this->error( "Batch size is too low...", 12 );
}