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:
authorFabian Becker <fabian.becker@uni-tuebingen.de>2013-07-18 13:25:08 +0400
committerFabian Becker <fabian.becker@uni-tuebingen.de>2013-07-18 13:25:08 +0400
commit879d0e094824bd6d46ca1ecbba1cda945394bb05 (patch)
tree038ad7cbfe1e6441ada4e5a979ec54331d910f42 /plugins/CustomVariables/Archiver.php
parentdf0fd261c9172926a8a2a9a05fd4b30bd840d5f7 (diff)
Refactor Piwik_Config to \Piwik\Core\Config
2 steps required: 1. Refactor > Move > \Piwik\Core\Config (uncheck "Create new File") 2. Refactor > Rename > Piwik_Config to Config
Diffstat (limited to 'plugins/CustomVariables/Archiver.php')
-rw-r--r--plugins/CustomVariables/Archiver.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/CustomVariables/Archiver.php b/plugins/CustomVariables/Archiver.php
index 8b2e0a516f..8d8d018d67 100644
--- a/plugins/CustomVariables/Archiver.php
+++ b/plugins/CustomVariables/Archiver.php
@@ -1,4 +1,6 @@
<?php
+use Piwik\Core\Config;
+
/**
* Piwik - Open source web analytics
*
@@ -25,8 +27,8 @@ class Piwik_CustomVariables_Archiver extends Piwik_PluginsArchiver
function __construct($processor)
{
parent::__construct($processor);
- $this->maximumRowsInDataTableLevelZero = Piwik_Config::getInstance()->General['datatable_archiving_maximum_rows_custom_variables'];
- $this->maximumRowsInSubDataTable = Piwik_Config::getInstance()->General['datatable_archiving_maximum_rows_subtable_custom_variables'];
+ $this->maximumRowsInDataTableLevelZero = Config::getInstance()->General['datatable_archiving_maximum_rows_custom_variables'];
+ $this->maximumRowsInSubDataTable = Config::getInstance()->General['datatable_archiving_maximum_rows_subtable_custom_variables'];
}
public function archiveDay()