Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
louislam committed Mar 31, 2023
1 parent e8d4856 commit 511038b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions server/database.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ class Database {
*/
static patched = false;

/**
* For Backup only
*/
static backupPath = null;

/**
* Add patch filename in key
* Values:
Expand Down Expand Up @@ -357,8 +352,6 @@ class Database {
}
}

this.backup(dayjs().format("YYYYMMDDHHmmss"));

log.info("db", sqlFilename + " is patching");
this.patched = true;
await this.importSQLFile("./db/" + sqlFilename);
Expand Down

0 comments on commit 511038b

Please sign in to comment.