mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 480448 - Get rid of code to delete old snapshots [r=mconnor]
SnapshotStore got removed with bug 524916 and hasn't been getting called for a long time now.
This commit is contained in:
parent
30147177c1
commit
f05a827ed2
@ -1448,18 +1448,6 @@ WeaveSvc.prototype = {
|
||||
// Have each engine drop any temporary meta data
|
||||
for each (let engine in engines)
|
||||
engine.resetClient();
|
||||
|
||||
// XXX Bug 480448: Delete any snapshots from old code
|
||||
try {
|
||||
let cruft = Svc.Directory.get("ProfD", Ci.nsIFile);
|
||||
cruft.QueryInterface(Ci.nsILocalFile);
|
||||
cruft.append("weave");
|
||||
cruft.append("snapshots");
|
||||
if (cruft.exists())
|
||||
cruft.remove(true);
|
||||
} catch (e) {
|
||||
this._log.debug("Could not remove old snapshots: " + Utils.exceptionStr(e));
|
||||
}
|
||||
}))(),
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user