[Pkg-mozext-commits] [requestpolicy] 208/280: bugfix

David Prévot taffit at moszumanska.debian.org
Sat May 2 20:30:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository requestpolicy.

commit 530dc278a60d8e537c2e0b9981884bdbb6956a58
Author: Martin Kimmerle <dev at 256k.de>
Date:   Wed Feb 4 21:49:51 2015 +0100

    bugfix
---
 src/content/main/requestpolicy-service.jsm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/content/main/requestpolicy-service.jsm b/src/content/main/requestpolicy-service.jsm
index b6ab26e..12b80eb 100644
--- a/src/content/main/requestpolicy-service.jsm
+++ b/src/content/main/requestpolicy-service.jsm
@@ -63,8 +63,7 @@ let rpService = (function() {
     subscriptions = new UserSubscriptions();
     PolicyManager.loadUserRules();
 
-    Prefs.isDefaultAllow;
-    var defaultPolicy = rpPrefBranch.defaultAllow ? 'allow' : 'deny';
+    var defaultPolicy = Prefs.isDefaultAllow() ? "allow" : "deny";
 
     var failures = PolicyManager.loadSubscriptionRules(
           subscriptions.getSubscriptionInfo(defaultPolicy));

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/requestpolicy.git



More information about the Pkg-mozext-commits mailing list