diff options
Diffstat (limited to 'lib/libbugzilla.js')
-rw-r--r-- | lib/libbugzilla.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libbugzilla.js b/lib/libbugzilla.js index d366ada..62df80b 100644 --- a/lib/libbugzilla.js +++ b/lib/libbugzilla.js @@ -387,6 +387,8 @@ exports.initialize = function initialize(config, callback) { JSON.parse(selfMod.data.load("newUpstreamBug.json")); config.constantData.ProfessionalProducts = JSON.parse(selfMod.data.load("professionalProducts.json")); + config.constantData.BugzillaAbbreviations = + JSON.parse(selfMod.data.load("bugzillalabelAbbreviations.json")); } if ("CCmaintainer" in config.constantData) { @@ -401,8 +403,7 @@ exports.initialize = function initialize(config, callback) { if ("submitsLogging" in config.gJSONData.configData && config.gJSONData.configData.submitsLogging) { - logger.initialize(JSON.parse(selfMod.data.load( - "bugzillalabelAbbreviations.json"))); + logger.initialize(); } } callback(); |