File tree Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Original file line number Diff line number Diff 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' )
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments