From f6a3f8319d442e832edc901ff12169ba17dceb81 Mon Sep 17 00:00:00 2001 From: Gervase Markham Date: Wed, 5 Jan 2011 11:48:49 +0000 Subject: Allow extensions to add new Jobs. r,a=mkanat. https://bugzilla.mozilla.org/show_bug.cgi?id=617012 --- Bugzilla/JobQueue/Runner.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/JobQueue') 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); } -- cgit v1.2.3-24-g4f1b