Remove safeDebug

This commit is contained in:
Aurimas Vinckevicius 2014-12-27 01:41:54 -06:00
parent 20a50d1aaa
commit 8d7db5a63e

View File

@ -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){