Skip to content

Commit 0c545d5

Browse files
committed
Cleanup
1 parent 960a111 commit 0c545d5

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

core/server/data/migration/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ function getDatabaseVersion() {
3434
// Check for the current version from the settings table
3535
if (exists) {
3636
// Temporary code to deal with old databases with currentVersion settings
37-
// TODO: remove before release
3837
return knex('settings')
3938
.where('key', 'databaseVersion')
4039
.orWhere('key', 'currentVersion')

core/server/models/settings.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ Settings = GhostBookshelf.Model.extend({
109109
_.each(defaultSettings, function (defaultSetting, defaultSettingKey) {
110110
var isMissingFromDB = usedKeys.indexOf(defaultSettingKey) === -1;
111111
// Temporary code to deal with old databases with currentVersion settings
112-
// TODO: remove before release
113112
if (defaultSettingKey === 'databaseVersion' && usedKeys.indexOf('currentVersion') !== -1) {
114113
isMissingFromDB = false;
115114
}

0 commit comments

Comments
 (0)