deskmetrics doesn't report during dev.

pull/19/head
kay.one 13 years ago
parent 05df752cc8
commit 90e5e8eef3

@ -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)

Loading…
Cancel
Save