You are here

function domain_conf_reset in Domain Access 7.2

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

Resets configuration settings by removing the domain row from {domain_conf}.

Parameters

$domain: The $domain object created by domain_lookup().

Return value

A confirmation form.

1 string reference to 'domain_conf_reset'
domain_conf_menu in domain_conf/domain_conf.module
Implements hook_menu()

File

domain_conf/domain_conf.admin.inc, line 204
Domain manager configuration options.

Code

function domain_conf_reset($domain) {
  if ($domain == -1) {
    return t('Invalid page requested.');
  }
  return drupal_get_form('domain_conf_reset_form', $domain);
}