Skip to content

Commit

Permalink
Slightly changed upgrade code.
Browse files Browse the repository at this point in the history
  • Loading branch information
gear54rus committed May 29, 2015
1 parent b7b8c0f commit 909d4ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/content/js/restclient.overlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,9 @@ restclient.overlay = {
});
restclient.sqlite.db.executeSimpleSQL('DELETE FROM history');
restclient.sqlite.close();
restclient.overlay.upgrades['< 1.3']();
},
'> 0': function() {
'< 1.3': function() {
restclient.setPref('skin', restclient.getPref('defaultSkin', 'cerulean'));
restclient.deletePref('defaultSkin');
}
Expand Down

0 comments on commit 909d4ca

Please # to comment.