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:
authorsgiehl <stefan@piwik.org>2015-04-17 20:58:38 +0300
committersgiehl <stefan@piwik.org>2015-04-21 22:41:20 +0300
commit4610fac869a8b22ecf4591b32b142717987c9e7c (patch)
tree5fadc41793354c7ba0bb74fd085bae6fbf11ed5b /core/Translation
parent1ae88c88edd63fcaa49d17d22afec895d809a456 (diff)
small fixes
Diffstat (limited to 'core/Translation')
-rw-r--r--core/Translation/Transifex/API.php6
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/');
}
/**