function rules_upgrade_confirm_clear_form_submit in Rules 7.2
Submit handler for deleting data.
File
- includes/
rules.upgrade.inc, line 143 - Contains code for upgrading rule configurations from 6.x-1.x to 7.x-2.x.
Code
function rules_upgrade_confirm_clear_form_submit($form, &$form_state) {
db_drop_table('rules_rules');
db_drop_table('rules_sets');
db_drop_table('rules_scheduler_d6');
drupal_set_message(t('Rules 1.x configurations have been deleted.'));
$form_state['redirect'] = 'admin';
}