Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ErisDS committed Sep 19, 2013
1 parent 960a111 commit 0c545d5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion core/server/data/migration/index.js
Expand Up @@ -34,7 +34,6 @@ function getDatabaseVersion() {
// Check for the current version from the settings table
if (exists) {
// Temporary code to deal with old databases with currentVersion settings
// TODO: remove before release
return knex('settings')
.where('key', 'databaseVersion')
.orWhere('key', 'currentVersion')
Expand Down
1 change: 0 additions & 1 deletion core/server/models/settings.js
Expand Up @@ -109,7 +109,6 @@ Settings = GhostBookshelf.Model.extend({
_.each(defaultSettings, function (defaultSetting, defaultSettingKey) {
var isMissingFromDB = usedKeys.indexOf(defaultSettingKey) === -1;
// Temporary code to deal with old databases with currentVersion settings
// TODO: remove before release
if (defaultSettingKey === 'databaseVersion' && usedKeys.indexOf('currentVersion') !== -1) {
isMissingFromDB = false;
}
Expand Down

0 comments on commit 0c545d5

Please sign in to comment.