Remove redundant QueryInterface for PrefBranch2

This commit is contained in:
Adomas Venčkauskas 2018-07-11 16:44:04 +03:00
parent cb8280f0ff
commit 856bbf49ab

View file

@ -270,7 +270,6 @@ Zotero.Prefs = new function(){
// Methods to register a preferences observer
//
function register(){
this.prefBranch.QueryInterface(Components.interfaces.nsIPrefBranch2);
this.prefBranch.addObserver("", this, false);
// Register pre-set handlers