Skip to content

Commit 9756a2c

Browse files
committed
#25 Disable sending usage statistics
Signed-off-by: Kaur Palang <kaur.palang@brightcodecompany.com>
1 parent e988318 commit 9756a2c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

client/src/com/mirth/connect/client/ui/LoginPanel.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,8 @@ private boolean handleSuccess(LoginStatus loginStatus) throws ClientException {
638638
PlatformUI.MIRTH_FRAME.alertThrowable(PlatformUI.MIRTH_FRAME, e);
639639
}
640640

641-
PlatformUI.MIRTH_FRAME.sendUsageStatistics();
641+
// TODO Re-implement statistics server. See https://github.com/OpenIntegrationEngine/engine/issues/25
642+
// PlatformUI.MIRTH_FRAME.sendUsageStatistics();
642643

643644
return true;
644645
}

server/src/com/mirth/connect/server/Mirth.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,9 @@ public void startup() {
401401
printSplashScreen();
402402

403403
// schedule usage statistics to be sent at startup and every 24 hours
404-
Timer timer = new Timer();
405-
timer.schedule(new UsageSenderTask(), 0, ConnectServiceUtil.MILLIS_PER_DAY);
404+
// TODO Re-implement statistics server. See https://github.com/OpenIntegrationEngine/engine/issues/25
405+
// Timer timer = new Timer();
406+
// timer.schedule(new UsageSenderTask(), 0, ConnectServiceUtil.MILLIS_PER_DAY);
406407
}
407408

408409
/**

0 commit comments

Comments
 (0)