You are here

function backup_migrate_destination_nodesquirrel::edit_form_submit in Backup and Migrate 6.2

Same name and namespace in other branches
  1. 8.3 includes/destinations.nodesquirrel.inc \backup_migrate_destination_nodesquirrel::edit_form_submit()
  2. 6.3 includes/destinations.nodesquirrel.inc \backup_migrate_destination_nodesquirrel::edit_form_submit()
  3. 7.2 includes/destinations.nodesquirrel.inc \backup_migrate_destination_nodesquirrel::edit_form_submit()

Submit the configuration form. Glue the url together and add the old password back if a new one was not specified.

Overrides backup_migrate_item::edit_form_submit

File

includes/destinations.nodesquirrel.inc, line 356
Functions to handle the NodeSquirrel backup destination.

Class

backup_migrate_destination_nodesquirrel
A destination for sending database backups to the NodeSquirel backup service.

Code

function edit_form_submit($form, &$form_state) {
  $form_state['values']['secret_key'] = check_plain($form_state['values']['secret_key']);
  parent::edit_form_submit($form, $form_state);
}