mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Remove old Firefox 3 places DB code.
Min version is 3.1/5, so we grab DBConnection from places directly now.
This commit is contained in:
parent
bab5749a17
commit
48f3b8796d
@ -136,18 +136,6 @@ HistoryStore.prototype = {
|
||||
return anno;
|
||||
},
|
||||
|
||||
get _histDB_30() {
|
||||
let file = Cc["@mozilla.org/file/directory_service;1"].
|
||||
getService(Ci.nsIProperties).
|
||||
get("ProfD", Ci.nsIFile);
|
||||
file.append("places.sqlite");
|
||||
let stor = Cc["@mozilla.org/storage/service;1"].
|
||||
getService(Ci.mozIStorageService);
|
||||
let db = stor.openDatabase(file);
|
||||
this.__defineGetter__("_histDB_30", function() db);
|
||||
return db;
|
||||
},
|
||||
|
||||
get _db() {
|
||||
return this._hsvc.DBConnection;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user