Leave a breadcrumb for future work on Purge Oximetry, which only half works.

This commit is contained in:
sawinglogz 2020-01-27 12:37:10 -05:00
parent 277b2a5422
commit 5122524df7

View File

@ -2528,6 +2528,11 @@ void MainWindow::on_actionPurgeCurrentDaysOximetry_triggered()
sess->Destroy();
delete sess;
}
// TODO: Fix this. It deletes the underlying session data file in the machine,
// but not from the machine's summary cache. This results in future launches
// of OSCAR thinking the day has oximetry data, but then it isn't really there.
// Currently this is only useful for reimporting a single day, which the purge
// permits, and which in turn creates a new data file for that day.
if (daily) {