aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-09-01 13:13:54 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-09-01 13:13:54 +0200
commit66eae433f98e8c9aed47200d96161d2404402cc1 (patch)
tree41aaaa5a9b9bc0b0c2f199b79e3365c12176914c /lib
parent2b4ce1c26b5eee5d4864d088657119c58b97e856 (diff)
downloadbugzilla-triage-66eae433f98e8c9aed47200d96161d2404402cc1.tar.gz
Remove unused LogMessage call
Diffstat (limited to 'lib')
-rw-r--r--lib/libbugzilla.js4
-rw-r--r--lib/main.js6
2 files changed, 0 insertions, 10 deletions
diff --git a/lib/libbugzilla.js b/lib/libbugzilla.js
index 4858a96..d366ada 100644
--- a/lib/libbugzilla.js
+++ b/lib/libbugzilla.js
@@ -32,10 +32,6 @@ function Message(cmd, data) {
this.data = data;
}
-function log(msg) {
- postMessage(new Message("LogMessage", msg));
-}
-
function debug(str) {
if (debugOption) {
console.log(str);
diff --git a/lib/main.js b/lib/main.js
index 3ca736e..643ef36 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -39,12 +39,6 @@ function skipThisPage(doc) {
var messageHandler = exports.messageHandler = function messageHandler(
worker, msg) {
switch (msg.cmd) {
- case "LogMessage":
- console.log(msg.data);
- break;
- case "ExecCmd":
- libbz.executeCommand(msg.data);
- break;
case "AddLogRecord":
logger.addLogRecord(msg.data);
break;