You are here

function backup_migrate_prune_prune_form_submit in Backup and migrate prune 7.2

Same name and namespace in other branches
  1. 7 backup_migrate_prune.module \backup_migrate_prune_prune_form_submit()

Submit function for backup_migrate_prune_prune_form

File

./backup_migrate_prune.module, line 367
Create (manually or scheduled) and restore backups of your Drupal MySQL database with an option to exclude table data (e.g. cache_*)

Code

function backup_migrate_prune_prune_form_submit($form, &$form_state) {
  backup_migrate_prune_prune($form_state['values']['gardener_id']);
  $form_state['redirect'] = BACKUP_MIGRATE_MENU_PATH . '/prune';
}