deskmetrics doesn't report during dev.

This commit is contained in:
kay.one 2012-02-12 23:38:50 -08:00
parent 05df752cc8
commit 90e5e8eef3
1 changed files with 1 additions and 1 deletions

View File

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