function domain_conf_domainupdate in Domain Access 6.2
Same name and namespace in other branches
- 5 domain_conf/domain_conf.module \domain_conf_domainupdate()
- 7.2 domain_conf/domain_conf.module \domain_conf_domainupdate()
Implement hook_domainupdate().
File
- domain_conf/
domain_conf.module, line 549 - Domain manager configuration options.
Code
function domain_conf_domainupdate($op, $domain, $form_state = array()) {
if ($op == 'delete') {
db_query("DELETE FROM {domain_conf} WHERE domain_id = %d", $domain['domain_id']);
cache_clear_all('variables', 'cache');
}
}