You are here

function domain_conf_domainupdate in Domain Access 7.2

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

Implements hook_domainupdate().

File

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

Code

function domain_conf_domainupdate($op, $domain, $form_state = array()) {
  if ($op == 'delete') {
    db_delete('domain_conf')
      ->condition('domain_id', $domain['domain_id'])
      ->execute();
    cache_clear_all('variables', 'cache_bootstrap');
  }
}