You are here

function backup_migrate_ui_schedule in Backup and Migrate 7.3

Same name and namespace in other branches
  1. 8.3 backup_migrate.module \backup_migrate_ui_schedule()
  2. 6.3 backup_migrate.module \backup_migrate_ui_schedule()

The menu callback for quick schedules.

File

./backup_migrate.module, line 634
Backup and restore databases for Drupal.

Code

function backup_migrate_ui_schedule() {
  require_once dirname(__FILE__) . '/includes/sources.inc';
  require_once dirname(__FILE__) . '/includes/schedules.inc';
  require_once dirname(__FILE__) . '/includes/profiles.inc';
  $sources = backup_migrate_get_sources();
  $schedules = backup_migrate_get_schedules();
  $out = drupal_get_form('backup_migrate_ui_schedule_form', $sources, $schedules);
  return $out;
}