Lines 79-82
$template->param(
Link Here
|
79 |
op => $op, |
79 |
op => $op, |
80 |
); |
80 |
); |
81 |
|
81 |
|
|
|
82 |
my @plugins = Koha::Plugins::GetPlugins( |
83 |
{ |
84 |
method => 'background_tasks', |
85 |
} |
86 |
); |
87 |
my @plugin_job_types; |
88 |
for my $plugin (@plugins) { |
89 |
my $tasks = $plugin->background_tasks; |
90 |
for my $id ( keys %$tasks ) { |
91 |
push @plugin_job_types, { |
92 |
id => 'plugin_' . $plugin->get_metadata->{namespace} . "_$id", |
93 |
str => $tasks->{$id}, |
94 |
}; |
95 |
} |
96 |
} |
97 |
$template->param( plugin_job_types => \@plugin_job_types ); |
98 |
|
82 |
output_html_with_http_headers $input, $cookie, $template->output; |
99 |
output_html_with_http_headers $input, $cookie, $template->output; |