You are here

function domain_locale_delete_domain in Domain Locale 6

Same name and namespace in other branches
  1. 7 domain_locale.module \domain_locale_delete_domain()

Remove all language settings from {domain_locale}

Parameters

int $domain_id:

3 calls to domain_locale_delete_domain()
domain_locale_domainupdate in ./domain_locale.module
Implements hook_domainupdate().
domain_locale_languages_overview_form_submit in ./domain_locale.admin.inc
FormsAPI submit handler for domain language settings
domain_locale_reset_form_submit in ./domain_locale.admin.inc
FormsAPI for domain_locale_reset_form.

File

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

Code

function domain_locale_delete_domain($domain_id) {
  db_query("DELETE FROM {domain_locale} WHERE domain_id = %d", $domain_id);
}