1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-03 19:05:47 +01:00

Fix history sanitization.

This commit is contained in:
Anthony Martin
2011-03-24 05:06:22 -07:00
parent cf90827bb8
commit 56205f3be9

View File

@@ -108,7 +108,7 @@ var Sanitizer = Module("sanitizer", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakRef
if (host)
services.history.removePagesFromHost(host, true);
else
services.history.removeVisitsByTimeframe(this.range.min, this.range.max);
services.history.removeVisitsByTimeframe(range.min, range.max);
if (!host)
services.observer.notifyObservers(null, "browser:purge-session-history", "");