From 0b664c2d7e559af80a0729dd68609a0564853bb6 Mon Sep 17 00:00:00 2001 From: Tim Su Date: Fri, 15 Jul 2011 16:26:25 -0700 Subject: [PATCH] Kill noisy stats events --- .../com/todoroo/astrid/actfm/sync/ActFmSyncProvider.java | 2 -- .../com/todoroo/astrid/gtasks/sync/GtasksSyncProvider.java | 2 -- .../todoroo/astrid/producteev/sync/ProducteevSyncProvider.java | 2 -- astrid/src/com/todoroo/astrid/dao/TaskDao.java | 1 - 4 files changed, 7 deletions(-) diff --git a/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmSyncProvider.java b/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmSyncProvider.java index f9aec144b..57637775f 100644 --- a/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmSyncProvider.java +++ b/astrid/plugin-src/com/todoroo/astrid/actfm/sync/ActFmSyncProvider.java @@ -287,8 +287,6 @@ public class ActFmSyncProvider extends SyncProvider { Task local = PluginServices.getTaskService().fetchById(task.task.getId(), Task.COMPLETION_DATE); if(task.task.isCompleted() && !local.isCompleted()) StatisticsService.reportEvent("actfm-task-completed"); //$NON-NLS-1$ - } else { - StatisticsService.reportEvent("actfm-task-created"); //$NON-NLS-1$ } actFmDataService.saveTaskAndMetadata(task); } diff --git a/astrid/plugin-src/com/todoroo/astrid/gtasks/sync/GtasksSyncProvider.java b/astrid/plugin-src/com/todoroo/astrid/gtasks/sync/GtasksSyncProvider.java index 391693372..0db3943ae 100644 --- a/astrid/plugin-src/com/todoroo/astrid/gtasks/sync/GtasksSyncProvider.java +++ b/astrid/plugin-src/com/todoroo/astrid/gtasks/sync/GtasksSyncProvider.java @@ -592,8 +592,6 @@ public class GtasksSyncProvider extends SyncProvider { mergeDates(task.task, local); if(task.task.isCompleted() && !local.isCompleted()) StatisticsService.reportEvent("gtasks-task-completed"); //$NON-NLS-1$ - } else { - StatisticsService.reportEvent("gtasks-task-created"); //$NON-NLS-1$ } gtasksMetadataService.saveTaskAndMetadata(task); } diff --git a/astrid/plugin-src/com/todoroo/astrid/producteev/sync/ProducteevSyncProvider.java b/astrid/plugin-src/com/todoroo/astrid/producteev/sync/ProducteevSyncProvider.java index 9a66e4ef9..13ce653d9 100644 --- a/astrid/plugin-src/com/todoroo/astrid/producteev/sync/ProducteevSyncProvider.java +++ b/astrid/plugin-src/com/todoroo/astrid/producteev/sync/ProducteevSyncProvider.java @@ -596,8 +596,6 @@ public class ProducteevSyncProvider extends SyncProvider { ContentValues values = item.getSetValues(); boolean result = super.createNew(item); if(result) { - StatisticsService.reportEvent("dao-task-created"); //$NON-NLS-1$ if(Preferences.getBoolean(AstridPreferences.P_FIRST_ACTION, false)) { StatisticsService.reportEvent("user-first-task"); //$NON-NLS-1$ Preferences.setBoolean(AstridPreferences.P_FIRST_ACTION, false);