diff options
author | Benaka Moorthi <benaka.moorthi@gmail.com> | 2013-10-05 03:26:52 +0400 |
---|---|---|
committer | Benaka Moorthi <benaka.moorthi@gmail.com> | 2013-10-05 03:26:52 +0400 |
commit | 0deb2bbb8d5598200f7adfbc77b190516f919e48 (patch) | |
tree | 507c1cfc643f7df4c99fca663fe1430fe1e324c9 /core/Archive.php | |
parent | cefbc7f8a742debe1babff33ef2bc8ddccdea72f (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.php | 4 |
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) ) { |