Added integration to deskmetrics

This commit is contained in:
kay.one
2012-01-25 17:29:55 -08:00
parent b225db9aaf
commit 7a83a46d31
8 changed files with 138 additions and 64 deletions

View File

@@ -23,16 +23,16 @@ namespace NzbDrone.Core.Providers
public virtual void Checkpoint()
{
if (_deskMetricsClient.Started)
{
_deskMetricsClient.Stop();
}
if (EnviromentProvider.IsNewInstall)
{
_deskMetricsClient.RegisterInstall();
}
if (_deskMetricsClient.Started)
{
_deskMetricsClient.Stop();
}
_deskMetricsClient.Start();
}
}