Fixed spelling of enviroment provider (Environment). :)

This commit is contained in:
Mark McDowall 2012-03-06 18:59:43 -08:00
commit a00c20c1af
53 changed files with 245 additions and 245 deletions

View file

@ -44,7 +44,7 @@ namespace NzbDrone.Common
}
catch (Exception e)
{
if (!EnviromentProvider.IsProduction)
if (!EnvironmentProvider.IsProduction)
{
throw;
}
@ -70,7 +70,7 @@ namespace NzbDrone.Common
}
catch (Exception e)
{
if (!EnviromentProvider.IsProduction)
if (!EnvironmentProvider.IsProduction)
{
throw;
}
@ -84,10 +84,10 @@ namespace NzbDrone.Common
{
if(RestProvider == null)
{
if(EnviromentProvider.IsProduction)
if(EnvironmentProvider.IsProduction)
{
logger.Warn("Rest provider wasn't provided. creating new one!");
RestProvider = new RestProvider(new EnviromentProvider());
RestProvider = new RestProvider(new EnvironmentProvider());
}
else
{