You are here

function domain_conf_domainupdate in Domain Access 5

Same name and namespace in other branches
  1. 6.2 domain_conf/domain_conf.module \domain_conf_domainupdate()
  2. 7.2 domain_conf/domain_conf.module \domain_conf_domainupdate()

Implement hook_domainupdate().

File

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

Code

function domain_conf_domainupdate($op, $domain, $edit = array()) {
  if ($op == 'delete') {
    db_query("DELETE FROM {domain_conf} WHERE domain_id = %d", $domain['domain_id']);
    cache_clear_all('variables', 'cache');
  }
}