From 8e09219ff1f7bed3314fa31c2881ac1e4f006ecb Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 3 Jan 2014 11:49:01 +0100 Subject: [PATCH] Hintergrundjobs-Controller: nur Perl-Job-Klassen anzeigen MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Wenn in der Tabelle noch Jobs aus anderen Systemen (alt-Bob) stehen, dann dürfen die von der Perl-Seite aus weder konfiguriert noch ausgeführt werden können. --- SL/Controller/BackgroundJob.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SL/Controller/BackgroundJob.pm b/SL/Controller/BackgroundJob.pm index 0ff74590a..b68829797 100644 --- a/SL/Controller/BackgroundJob.pm +++ b/SL/Controller/BackgroundJob.pm @@ -167,6 +167,9 @@ sub init_models { last_run_at => t8('Last run at'), next_run_at => t8('Next run at'), }, + query => [ + package_name => [ SL::BackgroundJob::Base->get_known_job_classes ], + ], ); } -- 2.20.1