mDescription = 'Script to update scratch_token column format'; } 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"; require_once RUN_MAINTENANCE_IF_MAIN;