You are here

public function UltimateCronLauncher::finishProgress in Ultimate Cron 7.2

Default implementation of finishProgress().

Parameters

UltimateCronJob $job: Job to finish progress for.

1 method overrides UltimateCronLauncher::finishProgress()
UltimateCronBackgroundProcessLegacyLauncher::finishProgress in plugins/ultimate_cron/launcher/background_process_legacy.class.php
Background process version of finishProgress().

File

./ultimate_cron.plugin.inc, line 1102
Plugin framework for Ultimate Cron.

Class

UltimateCronLauncher
Abstract class for Ultimate Cron launchers.

Code

public function finishProgress($job) {
  $class = _ultimate_cron_get_class('progress');
  return $class::factory($job->name)
    ->setProgress(FALSE);
}