Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattpiwik <matthieu.aubry@gmail.com>2010-06-25 16:59:08 +0400
committermattpiwik <matthieu.aubry@gmail.com>2010-06-25 16:59:08 +0400
commit4864705b51e6d07a12826f7a6942c1f383aa81ad (patch)
tree12cfd3dee7b977b300435fabe884f4c27d87c336 /core/Translate.php
parent5810ed2aca3873d41efffc81b8a7660f91b2a8a6 (diff)
* Fixing unit tests that were failing since one test was loading translation
* adding svn:ignore to .htaccess files created during install * Updating Yahoo! and Alexa icons git-svn-id: http://dev.piwik.org/svn/trunk@2383 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Translate.php')
-rw-r--r--core/Translate.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/Translate.php b/core/Translate.php
index adc3379cf4..1877478679 100644
--- a/core/Translate.php
+++ b/core/Translate.php
@@ -38,6 +38,12 @@ class Piwik_Translate
$this->setLocale();
$this->englishLanguageLoaded = true;
}
+
+ public function unloadEnglishTranslation()
+ {
+ $GLOBALS['Piwik_translations'] = array();
+ $this->englishLanguageLoaded = false;
+ }
public function loadUserTranslation()
{