From 12565f14fb3af2df10626fa47ecd6e1d321b5d2e Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Mon, 22 Apr 2019 05:39:41 -0400 Subject: [PATCH] [COMM] get*pref has defaults now, use it --- communicator/modules/Communicator.jsm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/communicator/modules/Communicator.jsm b/communicator/modules/Communicator.jsm index 41a8c425..f9f4731c 100644 --- a/communicator/modules/Communicator.jsm +++ b/communicator/modules/Communicator.jsm @@ -36,10 +36,7 @@ this.Communicator = { }, showLicenseWindow: function() { var eulaDone = null; - try { - eulaDone = Services.prefs.getBoolPref("app.eula.accepted"); - } - catch (ex) { } + eulaDone = Services.prefs.getBoolPref("app.eula.accepted", false); if (!eulaDone) { Services.ww.openWindow(null, "chrome://communicator/content/eula/eula.xul",