deskmetrics doesn't report during dev.

This commit is contained in:
kay.one 2012-02-12 23:38:50 -08:00
commit 90e5e8eef3

View file

@ -34,7 +34,7 @@ namespace NzbDrone.Core.Providers
try
{
//Don't report anything unless working from master branch.
if (!IsOnMasterBranch())
if (!IsOnMasterBranch() || !EnviromentProvider.IsProduction)
return;
if (EnviromentProvider.IsNewInstall)