Skip to content

Commit

Permalink
Made repair function private
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamGuidarini committed Oct 25, 2024
1 parent 92efd52 commit 39fa7de
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ class DatabaseController {
*/
Dose* setDose(Table* table);

/**
* Resolves issues in caused by imports where the last character of the last record was removed
*/
void repairImportErrors();
public:
const string NOTES_TABLE = "Notes";
const string SETTINGS_TABLE = "Settings";
Expand Down Expand Up @@ -249,11 +253,6 @@ class DatabaseController {
* @param id ID of notification to delete
*/
void deleteNotification(long id);

/**
* Resolves issues in caused by imports where the last character of the last record was removed
*/
void repairImportErrors();
};

#endif //MEDICATIONTRACKER_DATABASECONTROLLER_H

0 comments on commit 39fa7de

Please sign in to comment.