mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-15 23:05:47 +01:00
Fix history sanitization.
This commit is contained in:
@@ -108,7 +108,7 @@ var Sanitizer = Module("sanitizer", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakRef
|
|||||||
if (host)
|
if (host)
|
||||||
services.history.removePagesFromHost(host, true);
|
services.history.removePagesFromHost(host, true);
|
||||||
else
|
else
|
||||||
services.history.removeVisitsByTimeframe(this.range.min, this.range.max);
|
services.history.removeVisitsByTimeframe(range.min, range.max);
|
||||||
|
|
||||||
if (!host)
|
if (!host)
|
||||||
services.observer.notifyObservers(null, "browser:purge-session-history", "");
|
services.observer.notifyObservers(null, "browser:purge-session-history", "");
|
||||||
|
|||||||
Reference in New Issue
Block a user