jl152 #i77196# dp_misc::sycnRepositories cannot be switched off with bootstrap variable, because it is not necessary fro the perfomance test

This commit is contained in:
Joachim Lingner 2010-05-21 16:17:24 +02:00
parent 7668f1f0a8
commit 3d3b46bb62

View file

@ -396,10 +396,5 @@ sal_Bool Desktop::CheckExtensionDependencies()
void Desktop::SynchronizeExtensionRepositories()
{
RTL_LOGFILE_CONTEXT(aLog,"desktop (jl) ::Desktop::SynchronizeExtensionRepositories");
OUString sDisable;
::rtl::Bootstrap::get( UNISTRING( "DISABLE_SYNC_EXTENSIONS" ), sDisable, OUString() );
if (sDisable.getLength() > 0)
return;
dp_misc::syncRepositories( new SilentCommandEnv( this ) );
}