diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-10 19:06:47 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-10 19:06:47 +0000 |
commit | 6b4aa3080f37c589b7d7cb30fecae450f1ac3abc (patch) | |
tree | e25221c463e46fa65c693a35d6cb2a3d51e85ad9 /modules/locale/locale.test | |
parent | dd9b870f7bd1ca44966fec9a82756c00fa01e991 (diff) | |
download | brdo-6b4aa3080f37c589b7d7cb30fecae450f1ac3abc.tar.gz brdo-6b4aa3080f37c589b7d7cb30fecae450f1ac3abc.tar.bz2 |
#480424 by JamesAn: Update locale module to use drupal_static().
Diffstat (limited to 'modules/locale/locale.test')
-rw-r--r-- | modules/locale/locale.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/locale/locale.test b/modules/locale/locale.test index 061bf04f3..2e52dc060 100644 --- a/modules/locale/locale.test +++ b/modules/locale/locale.test @@ -201,7 +201,7 @@ class LocaleTranslationFunctionalTest extends DrupalWebTestCase { // Add string. t($name, array(), array('langcode' => $langcode)); // Reset locale cache. - locale(NULL, NULL, NULL, TRUE); + locale_reset(); $this->assertText($langcode, t('Language code found.')); $this->assertText($name, t('Name found.')); $this->assertText($native, t('Native found.')); @@ -456,7 +456,7 @@ class LocaleTranslationFunctionalTest extends DrupalWebTestCase { // Add string. t($name, array(), array('langcode' => $langcode)); // Reset locale cache. - locale(NULL, NULL, NULL, TRUE); + locale_reset(); $this->drupalLogout(); // Search for the name. |