You are here

function locale_update_7003 in Drupal 7

Update "language_count" variable.

Related topics

File

modules/locale/locale.install, line 140
Install, update and uninstall functions for the locale module.

Code

function locale_update_7003() {
  $languages = language_list('enabled');
  variable_set('language_count', count($languages[1]));
}