Skip to content

Commit

Permalink
Kill noisy stats events
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Su committed Jul 15, 2011
1 parent a86fd17 commit 0b664c2
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
Expand Up @@ -287,8 +287,6 @@ protected void write(ActFmTaskContainer task) throws IOException {
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);
}
Expand Down
Expand Up @@ -592,8 +592,6 @@ protected void write(GtasksTaskContainer task) throws IOException {
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);
}
Expand Down
Expand Up @@ -596,8 +596,6 @@ protected void write(ProducteevTaskContainer task) throws IOException {
Task local = PluginServices.getTaskService().fetchById(task.task.getId(), Task.COMPLETION_DATE);
if(task.task.isCompleted() && !local.isCompleted())
StatisticsService.reportEvent("pdv-task-completed"); //$NON-NLS-1$
} else {
StatisticsService.reportEvent("pdv-task-created"); //$NON-NLS-1$
}
dataService.saveTaskAndMetadata(task);
}
Expand Down
1 change: 0 additions & 1 deletion astrid/src/com/todoroo/astrid/dao/TaskDao.java
Expand Up @@ -204,7 +204,6 @@ public boolean createNew(Task item) {
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);
Expand Down

0 comments on commit 0b664c2

Please sign in to comment.