diff options
author | sgiehl <stefan@piwik.org> | 2015-04-17 20:58:38 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2015-04-21 22:41:20 +0300 |
commit | 4610fac869a8b22ecf4591b32b142717987c9e7c (patch) | |
tree | 5fadc41793354c7ba0bb74fd085bae6fbf11ed5b /core/Translation | |
parent | 1ae88c88edd63fcaa49d17d22afec895d809a456 (diff) |
small fixes
Diffstat (limited to 'core/Translation')
-rw-r--r-- | core/Translation/Transifex/API.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/core/Translation/Transifex/API.php b/core/Translation/Transifex/API.php index 0a2184e3af..d566070942 100644 --- a/core/Translation/Transifex/API.php +++ b/core/Translation/Transifex/API.php @@ -88,11 +88,7 @@ class API */ public function getStatistics($resource) { - static $apiData = array(); - if (empty($languageCodes)) { - $apiData = $this->getApiResults('project/' . $this->projectSlug . '/resource/' . $resource . '/stats/'); - } - return $apiData; + return $this->getApiResults('project/' . $this->projectSlug . '/resource/' . $resource . '/stats/'); } /** |