You are here

function domain_theme_domainupdate in Domain Access 6.2

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

Implements hook_domainupdate().

File

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

Code

function domain_theme_domainupdate($op, $domain, $form_values = array()) {
  if ($op == 'delete') {
    db_query("DELETE FROM {domain_theme} WHERE domain_id = %d", $domain['domain_id']);
  }
}