mDescription = 'Script to update scratch_token column format'; $this->requireExtension( 'OATHAuth' ); } public function execute() { $dbw = $this->getDB( DB_MASTER ); if ( !OATHAuthHooks::schemaUpdateOldUsers( $dbw ) ) { $this->error( "Failed to update scratch_token rows.\n", 1 ); } $this->output( "Done.\n" ); } } $maintClass = UpdateScratchTokenFormat::class; require_once RUN_MAINTENANCE_IF_MAIN;