Skip to content

Commit

Permalink
Don't use Application.storage anymore, even in legacy purposes
Browse files Browse the repository at this point in the history
(see #178)
  • Loading branch information
Infocatcher committed Jan 3, 2016
1 parent d9b118f commit fa5a93e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,14 +414,6 @@ var privateTab = {
if(!this.emptyTabLabelsImported) {
this.emptyTabLabelsImported = true;
var emptyLabels = this.storage.get("emptyTabLabels", null);
var legacyStorage = !emptyLabels
&& "Application" in window
&& "storage" in window.Application
&& window.Application.storage;
if(legacyStorage) {
emptyLabels = legacyStorage.get("privateTab:emptyTabLabels", null);
emptyLabels && legacyStorage.set("privateTab:emptyTabLabels", null);
}
if(emptyLabels) {
this.storage.set("emptyTabLabels", null);
for(var label in emptyLabels) {
Expand Down

0 comments on commit fa5a93e

Please sign in to comment.