MDL-77186 core: Move all uses of cronlib to new class
This commit is contained in:
@@ -306,7 +306,7 @@ abstract class engine {
|
||||
$now = manager::get_current_time();
|
||||
if ($now - $lastprogress >= manager::DISPLAY_INDEXING_PROGRESS_EVERY) {
|
||||
$lastprogress = $now;
|
||||
// The first date format is the same used in cron_trace_time_and_memory().
|
||||
// The first date format is the same used in \core\cron::trace_time_and_memory().
|
||||
$options['progress']->output(date('H:i:s', (int)$now) . ': Done to ' . userdate(
|
||||
$lastindexeddoc, get_string('strftimedatetimeshort', 'langconfig')), 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user