You are here

function domain_locale_domainupdate in Domain Locale 6

Implements hook_domainupdate().

File

./domain_locale.module, line 117
domain_locale Domain Locale: manage languages Provides domain specific language settings

Code

function domain_locale_domainupdate($op, $domain, $edit = array()) {
  switch ($op) {
    case 'create':
      domain_locale_restore_default($domain['domain_id']);
      break;
    case 'delete':
      domain_locale_delete_domain($domain['domain_id']);
      break;
  }
}