From f2596ae0eaaa09a1ec5d641f048d7472f19c812b Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Tue, 2 Sep 2014 10:44:42 +0100 Subject: Retain excludedUrls setting, so testers can revert to previous versions. --- background_scripts/exclusions.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/background_scripts/exclusions.coffee b/background_scripts/exclusions.coffee index 326989bf..8242c81b 100644 --- a/background_scripts/exclusions.coffee +++ b/background_scripts/exclusions.coffee @@ -74,4 +74,6 @@ if not Settings.has("exclusionRules") and Settings.has("excludedUrls") Exclusions.setRules(parseLegacyRules(Settings.get("excludedUrls"))) # We'll keep a backup of the excludedUrls setting, just in case (and for testing). Settings.set("excludedUrlsBackup",Settings.get("excludedUrls")) if not Settings.has("excludedUrlsBackup") - Settings.clear("excludedUrls") + # TODO (smblott): Uncomment the following line. It's commented for now so that anyone trying out this code + # can revert to previous versions. + # Settings.clear("excludedUrls") -- cgit v1.2.3