From 8d7db5a63e61a1082b8ccc7f842b6592a042d134 Mon Sep 17 00:00:00 2001 From: Aurimas Vinckevicius Date: Sat, 27 Dec 2014 01:41:54 -0600 Subject: [PATCH] Remove safeDebug --- chrome/content/zotero/xpcom/zotero.js | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 576744d4b..903b4ff79 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -46,7 +46,6 @@ Components.utils.import("resource://gre/modules/Services.jsm"); this.logError = logError; this.getErrors = getErrors; this.getSystemInfo = getSystemInfo; - this.safeDebug = safeDebug; this.getString = getString; this.localeJoin = localeJoin; this.setFontSize = setFontSize; @@ -1398,22 +1397,6 @@ Components.utils.import("resource://gre/modules/Services.jsm"); AddonManager.getAllAddons(onHaveInstalledAddons); } - - function safeDebug(obj){ - for (var i in obj){ - try { - Zotero.debug(i + ': ' + obj[i]); - } - catch (e){ - try { - Zotero.debug(i + ': ERROR'); - } - catch (e){} - } - } - } - - function getString(name, params){ try { if (params != undefined){