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:
authorThomas Steur <thomas.steur@googlemail.com>2014-07-02 07:37:00 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-07-02 07:37:00 +0400
commit6ba4a06f33fcb818df3751c3ea6323ad391d82ea (patch)
tree630db684a2e9982b152d61748248076a18208ebe /core/Plugin.php
parent153a9c85e6a85d9b03abf9a58f8648e53f5ea8c5 (diff)
a few more tweaks
Diffstat (limited to 'core/Plugin.php')
-rw-r--r--core/Plugin.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/Plugin.php b/core/Plugin.php
index 8d3a1f30cf..4968660b86 100644
--- a/core/Plugin.php
+++ b/core/Plugin.php
@@ -349,12 +349,13 @@ class Plugin
$this->cache->setCacheKey('Plugin' . $this->pluginName . $directoryWithinPlugin . $expectedSubclass);
if ($this->cache->has()) {
- $files = $this->cache->get();
- foreach ($files as $file => $klass) {
+ $components = $this->cache->get();
+
+ foreach ($components as $file => $klass) {
require_once $file;
}
- return $files;
+ return $components;
}
$components = array();