You are here

function rules_upgrade_confirm_clear_form in Rules 7.2

Confirm form for deleting data.

1 string reference to 'rules_upgrade_confirm_clear_form'
rules_menu in ./rules.module
Implements hook_menu().

File

includes/rules.upgrade.inc, line 134
Contains code for upgrading rule configurations from 6.x-1.x to 7.x-2.x.

Code

function rules_upgrade_confirm_clear_form($form, $form_state) {
  $confirm_question = t('Are you sure you want to drop the Rules 1.x tables from the database?');
  $confirm_question_long = t('Are you sure you want to drop the Rules 1.x tables from the database? All Rules 1.x configurations will be deleted regardless whether they have been already converted.') . ' ' . t('This action cannot be undone.');
  return confirm_form($form, $confirm_question, 'admin/config/workflow/rules/upgrade', $confirm_question_long, t('Delete data'), t('Cancel'));
}