summaryrefslogtreecommitdiffstats
path: root/Bugzilla/JobQueue
diff options
context:
space:
mode:
authorGervase Markham <gerv@gerv.net>2011-01-05 12:48:49 +0100
committerGervase Markham <gerv@mozilla.org>2011-01-05 12:48:49 +0100
commitf6a3f8319d442e832edc901ff12169ba17dceb81 (patch)
tree6626516d9161aa9ca50e1c92dcb6b4dc7ac24591 /Bugzilla/JobQueue
parent237e21f002e1211113976fd08fce793e7f03c73e (diff)
downloadbugzilla-f6a3f8319d442e832edc901ff12169ba17dceb81.tar.gz
bugzilla-f6a3f8319d442e832edc901ff12169ba17dceb81.tar.xz
Allow extensions to add new Jobs. r,a=mkanat.
https://bugzilla.mozilla.org/show_bug.cgi?id=617012
Diffstat (limited to 'Bugzilla/JobQueue')
-rw-r--r--Bugzilla/JobQueue/Runner.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/JobQueue/Runner.pm b/Bugzilla/JobQueue/Runner.pm
index 8cfc965eb..20cf6439f 100644
--- a/Bugzilla/JobQueue/Runner.pm
+++ b/Bugzilla/JobQueue/Runner.pm
@@ -201,7 +201,7 @@ sub gd_run {
my $jq = Bugzilla->job_queue();
$jq->set_verbose($self->{debug});
- foreach my $module (values %{ Bugzilla::JobQueue::JOB_MAP() }) {
+ foreach my $module (values %{ Bugzilla::JobQueue->job_map() }) {
eval "use $module";
$jq->can_do($module);
}