public function __construct() {
parent::__construct();
- $this->mDescription = "Verify that database usernames are actually valid";
+ $this->addDescription( 'Verify that database usernames are actually valid' );
$this->setBatchSize( 1000 );
}
function execute() {
- $dbr = wfGetDB( DB_SLAVE );
+ $dbr = $this->getDB( DB_SLAVE );
$maxUserId = 0;
do {