You are here

function backup_migrate_schedule::get_last_run_description in Backup and Migrate 6.3

Same name and namespace in other branches
  1. 8.2 includes/schedules.inc \backup_migrate_schedule::get_last_run_description()
  2. 8.3 includes/schedules.inc \backup_migrate_schedule::get_last_run_description()
  3. 6.2 includes/schedules.inc \backup_migrate_schedule::get_last_run_description()
  4. 7.3 includes/schedules.inc \backup_migrate_schedule::get_last_run_description()
  5. 7.2 includes/schedules.inc \backup_migrate_schedule::get_last_run_description()

Format the enabled status in human-readable form.

File

includes/schedules.inc, line 363
All of the schedule handling code needed for Backup and Migrate.

Class

backup_migrate_schedule
A schedule class for crud operations.

Code

function get_last_run_description() {
  $last_run = $this
    ->get('last_run');
  return !empty($last_run) ? format_date($last_run, 'small') : t('Never');
}