Skip to content

Commit

Permalink
Avoid log message when using dTa 2.0.x fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
nmaier committed Mar 30, 2011
1 parent f6afc10 commit 539aa74
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,14 @@ module("resource://gre/modules/XPCOMUtils.jsm");

XPCOMUtils.defineLazyGetter(this, 'FilterManager', function() {
try {
// 2.1alpha
let _f = {};
module("resource://dta/support/filtermanager.jsm", _f);
return _f.FilterManager;
}
catch (ex) {
log(ex);
// 2.0 fallback
//log(ex);
try {
return Cc['@downthemall.net/filtermanager;2']
.getService(Components.interfaces.dtaIFilterManager);
Expand Down

0 comments on commit 539aa74

Please sign in to comment.