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:
Edward Lee 2010-04-21 11:10:32 -07:00
parent 30147177c1
commit f05a827ed2

View File

@ -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));
}
}))(),
/**