function language_disable

Implements hook_disable().

File

drupal/core/modules/language/language.install, line 114
Install, update and uninstall functions for the language module.

Code

function language_disable() {

  // Force the language_count variable to be 1, so that the when checking if the
  // site is multilingual (for example in language_multilingual()), the result
  // will be FALSE, because the language module is disabled.
  variable_set('language_count', 1);
}