diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2014-05-05 03:14:31 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2014-05-05 03:14:31 +0400 |
commit | e48d60736bbfe393dadbdf074909af8c2536e51e (patch) | |
tree | 7587ca2c8d2059565fff32f84fc5c558e0cbab7c /plugins/Annotations | |
parent | cbe08188e2dd4bb92ce117cf2ecf5bfa50466ac4 (diff) | |
parent | 47b96a7e0cdf2fa09cb55c6b5a38e8426302baa5 (diff) |
Merge remote-tracking branch 'origin/master' into 4987_zenmode
Diffstat (limited to 'plugins/Annotations')
-rwxr-xr-x | plugins/Annotations/API.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Annotations/API.php b/plugins/Annotations/API.php index a390f01883..605064bbec 100755 --- a/plugins/Annotations/API.php +++ b/plugins/Annotations/API.php @@ -326,7 +326,7 @@ class API extends \Piwik\Plugin\API if ($period == 'range') { $oPeriod = new Range('day', $date); } else { - $oPeriod = Period::factory($period, Date::factory($date)); + $oPeriod = Period\Factory::build($period, Date::factory($date)); } $startDate = $oPeriod->getDateStart(); |