diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-05-02 04:16:40 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-05-02 04:16:40 +0400 |
commit | 02e030ee78aabfe2b8453dbe03f05459a353d7eb (patch) | |
tree | dfcc0012980bee87535cbc1b8e481794d4ecc176 /plugins/Annotations | |
parent | ff3bb73aafc4a03a2edc69b16e2182a37f3f5e3d (diff) |
Refs #5037 Refactor the factory out of the Period class in its own Period\Factory class
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(); |