You are here

function domain_conf_reset_form_submit in Domain Access 5

Same name and namespace in other branches
  1. 6.2 domain_conf/domain_conf.admin.inc \domain_conf_reset_form_submit()
  2. 7.3 domain_conf/domain_conf.admin.inc \domain_conf_reset_form_submit()
  3. 7.2 domain_conf/domain_conf.admin.inc \domain_conf_reset_form_submit()

FormsAPI for domain_conf_reset_form.

File

domain_conf/domain_conf.module, line 341
Domain manager configuration options.

Code

function domain_conf_reset_form_submit($form_id, $form_values) {
  db_query("DELETE FROM {domain_conf} WHERE domain_id = %d", $form_values['domain_id']);
  drupal_set_message(t('Domain configuration settings have been reset.'));
}