You are here

function backup_migrate_destination_db_conf_submit in Backup and Migrate 5.2

Validate the configuration form. Make sure the email address is valid.

File

includes/destinations.db.inc, line 91
Functions to handle the direct to database destination.

Code

function backup_migrate_destination_db_conf_submit($form_id, &$form_values) {
  $form_values['password'] = $form_values['password'] ? $form_values['password'] : $form_values['old_password'];
  $form_values['location'] = _backup_migrate_destination_glue_url($form_values);
}