$db = wfGetDB( DB_MASTER );
if ( !$db->tableExists( 'externallinks' ) ) {
$this->error( "externallinks table does not exist" );
+
return false;
}
$this->output( "Fixing protocol-relative entries in the externallinks table...\n" );
);
}
$this->output( "Done, $count rows updated.\n" );
+
return true;
}
}