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:
Diffstat (limited to 'plugins/Transitions/API.php')
-rw-r--r--plugins/Transitions/API.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Transitions/API.php b/plugins/Transitions/API.php
index 958cfcde4d..8aed9317f3 100644
--- a/plugins/Transitions/API.php
+++ b/plugins/Transitions/API.php
@@ -75,12 +75,12 @@ class API extends \Piwik\Plugin\API
// prepare archive processing that can be used by the archiving code
$segment = new Segment($segment, $idSite);
$site = new Site($idSite);
- $period = Period::advancedFactory($period, $date);
+ $period = Period::factory($period, $date);
$archiveProcessor = new ArchiveProcessor\Day($period, $site, $segment);
$logAggregator = $archiveProcessor->getLogAggregator();
// prepare the report
$report = array(
- 'date' => Day::advancedFactory($period->getLabel(), $date)->getLocalizedShortString()
+ 'date' => Period::factory($period->getLabel(), $date)->getLocalizedShortString()
);
$partsArray = explode(',', $parts);