From 4c1885ee23df63aaecde4e31bb7c5073e3e61b31 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Sun, 2 Feb 2014 15:17:22 -0800 Subject: [PATCH] use new cron API --- fetchmail/edit_cron.cgi | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fetchmail/edit_cron.cgi b/fetchmail/edit_cron.cgi index 7c0245523..5491d06d1 100755 --- a/fetchmail/edit_cron.cgi +++ b/fetchmail/edit_cron.cgi @@ -63,10 +63,7 @@ print &ui_table_row($text{'cron_enabled'}, [ [ 1, $text{'yes'} ], [ 0, $text{'no'} ] ])); $job ||= { 'special' => 'hourly' }; -print &ui_table_row(undef, - "". - &capture_function_output(\&cron::show_times_input, $job). - "
"); +print &cron::get_times_input($job); print &ui_table_end(); print &ui_form_end([ [ undef, $text{'save'} ] ]);