1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-05 21:24:11 +01:00

Remove obsolete global private browsing code.

This commit is contained in:
Kris Maglione
2015-03-09 19:24:51 -07:00
parent daaea67294
commit 1bcc5502e7
7 changed files with 7 additions and 41 deletions

View File

@@ -68,7 +68,7 @@ var StoreBase = Class("StoreBase", {
storage.infoPath.child(this.name).path);
},
save: function () { (self.storage || storage)._saveData(this); },
save: function () { (this.storage || storage)._saveData(this); },
"@@iterator": function () iter(this._object)
});
@@ -230,8 +230,9 @@ var Storage = Module("Storage", {
},
_saveData: promises.task(function* saveData(obj) {
if (obj.privateData && storage.privateMode)
if (obj.privateData && this.privateMode)
return;
if (obj.store && storage.infoPath) {
var { path } = storage.infoPath.child(obj.name);
yield OS.File.makeDir(storage.infoPath.path,