From 511038b45a4d57f605c3cfb792732fef89e14cff Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Sat, 1 Apr 2023 04:22:10 +0800 Subject: [PATCH] Remove unused code --- server/database.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/server/database.js b/server/database.js index 25e507503..8576bdedc 100644 --- a/server/database.js +++ b/server/database.js @@ -30,11 +30,6 @@ class Database { */ static patched = false; - /** - * For Backup only - */ - static backupPath = null; - /** * Add patch filename in key * Values: @@ -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);