You are here

function backup_migrate_backup_succeed in Backup and Migrate 7.3

Same name and namespace in other branches
  1. 8.2 backup_migrate.module \backup_migrate_backup_succeed()
  2. 8.3 backup_migrate.module \backup_migrate_backup_succeed()
  3. 6.3 backup_migrate.module \backup_migrate_backup_succeed()
  4. 6.2 backup_migrate.module \backup_migrate_backup_succeed()
  5. 7.2 backup_migrate.module \backup_migrate_backup_succeed()

Clean up when a backup operation succeeds.

1 call to backup_migrate_backup_succeed()
backup_migrate_perform_backup in ./backup_migrate.module
Perform a backup with the given settings.
1 string reference to 'backup_migrate_backup_succeed'
backup_migrate_mail in ./backup_migrate.module
Implements hook_mail().

File

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

Code

function backup_migrate_backup_succeed($message, $params, $settings) {
  require_once dirname(__FILE__) . '/includes/files.inc';
  require_once dirname(__FILE__) . '/includes/filters.inc';
  _backup_migrate_message($message, $params, 'success');
  backup_migrate_cleanup();
  backup_migrate_filters_invoke_all('backup_succeed', $settings, $message, $params);
  return FALSE;
}