You are here

function lockr_migrate_keys_batch_finished in Lockr 7.2

Same name and namespace in other branches
  1. 7.3 lockr.forms.inc \lockr_migrate_keys_batch_finished()
1 string reference to 'lockr_migrate_keys_batch_finished'
lockr_migrate_keys_form_submit in ./lockr.forms.inc

File

./lockr.forms.inc, line 91

Code

function lockr_migrate_keys_batch_finished($success, $results, $operations) {
  if (!$success) {
    drupal_set_message(t('Migration was not successful, please contact Lockr support at either support@lockr.io or https://slack.lockr.io.'));
  }
  else {
    drupal_set_message(t('Migration was successful, you are good to go and no longer need the backup values we provided earlier.'));
    variable_del('lockr_migrate_key');
  }
}