diff options
author | Matěj Cepl <mcepl@redhat.com> | 2010-09-10 21:42:53 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2010-09-10 21:42:53 +0200 |
commit | f2f034c968d00874c234c0ce20bb9a2a978a8e61 (patch) | |
tree | 785692eec8dab2eb821e5ac104d839510f629ebd /lib/logger.js | |
parent | 07a9f4248c978771e55dc9054238ff03a4d6865c (diff) | |
download | bugzilla-triage-f2f034c968d00874c234c0ce20bb9a2a978a8e61.tar.gz |
Make certain that this.bugNo is really numerical value of bug number.
Fixes #45
* move getLogin and getPassword to bzpage (upstream bugzilla
actually has SOME XML-RPC)
* don't test for correct bug number in logger, when we have the
bug no. correct in the first place.
Diffstat (limited to 'lib/logger.js')
-rw-r--r-- | lib/logger.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/logger.js b/lib/logger.js index 1175bf8..1936ad5 100644 --- a/lib/logger.js +++ b/lib/logger.js @@ -82,11 +82,6 @@ Logger.prototype.timeSheetRecordsPrinter = function(body, records) { var host = urlMod.URL(x.url).host; var BZName = that.getBugzillaAbbr(x.url); var bugNo = utilMod.getBugNo(x.url); - // protection against misbehaving URLs - if (!bugNo) { - console.error("wrong record:\n" + rec.toSource() + "\n"); - return false; - } if (dayStr != currentDay) { currentDay = dayStr; body.innerHTML += "<hr/><p><strong>" + currentDay |