function domain_conf_reset in Domain Access 7.3
Same name and namespace in other branches
- 5 domain_conf/domain_conf.module \domain_conf_reset()
- 6.2 domain_conf/domain_conf.admin.inc \domain_conf_reset()
- 7.2 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 145 - 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);
}