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:
authorBenaka Moorthi <benaka.moorthi@gmail.com>2013-10-05 03:26:52 +0400
committerBenaka Moorthi <benaka.moorthi@gmail.com>2013-10-05 03:26:52 +0400
commit0deb2bbb8d5598200f7adfbc77b190516f919e48 (patch)
tree507c1cfc643f7df4c99fca663fe1430fe1e324c9 /core/Archive.php
parentcefbc7f8a742debe1babff33ef2bc8ddccdea72f (diff)
Refs #4125, rename Referers_... record names to Referrers and make sure code is backwards compatible.
Diffstat (limited to 'core/Archive.php')
-rw-r--r--core/Archive.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Archive.php b/core/Archive.php
index 2617e6fb07..5e5cef30d6 100644
--- a/core/Archive.php
+++ b/core/Archive.php
@@ -646,6 +646,10 @@ class Archive
}
$plugin = substr($report, 0, strpos($report, '_'));
+ if ($plugin == 'Referrers') { // TODO: remove when Referers plugin name is changed
+ $plugin = 'Referers';
+ }
+
if (empty($plugin)
|| !\Piwik\PluginsManager::getInstance()->isPluginActivated($plugin)
) {