You are here

function domain_theme_domainupdate in Domain Access 7.2

Same name and namespace in other branches
  1. 6.2 domain_theme/domain_theme.module \domain_theme_domainupdate()

Implements hook_domainupdate().

File

domain_theme/domain_theme.module, line 411
Domain Theme module for the Domain Access module group.

Code

function domain_theme_domainupdate($op, $domain, $form_values = array()) {
  if ($op == 'delete') {
    db_delete('domain_theme')
      ->condition('domain_id', $domain['domain_id'])
      ->execute();
  }
}