function domain_source_domain_delete in Domain Access 7.3
Implements hook_domain_delete().
When deleting domain records, we remove all traces from the {domain_source} table.
File
- domain_source/
domain_source.domain.inc, line 35 - Domain hooks for Domain Source.
Code
function domain_source_domain_delete($domain, $form_values = array()) {
db_delete('domain_source')
->condition('domain_id', $domain['domain_id'])
->execute();
}