Reset static variables used by locale().

2 calls to locale_reset()
LocaleTranslationFunctionalTest::testStringSearch in modules/locale/locale.test
Tests translation search form.
LocaleTranslationFunctionalTest::testStringTranslation in modules/locale/locale.test
Adds a language and tests string translation by users with the appropriate permissions.

File

modules/locale/locale.module, line 765
Add language handling functionality and enables the translation of the user interface to languages other than English.

Code

function locale_reset() {
  drupal_static_reset('locale');
}