diff options
author | mattab <matthieu.aubry@gmail.com> | 2015-09-14 22:19:24 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2015-09-14 22:19:36 +0300 |
commit | eaa4c36aff234a3b9d247e189a04538162b5c1ad (patch) | |
tree | ba4f04150a495b53e313e1865bdf16e0bfa30321 /plugins/API | |
parent | d12eb739e2f75038e94be47b9af9cf352a6f3961 (diff) |
Fixes #8784 Deprecate the API.getLastDate method as it is un-used in Piwik
Diffstat (limited to 'plugins/API')
-rw-r--r-- | plugins/API/API.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/API/API.php b/plugins/API/API.php index 7027756ccd..dcdacf40b2 100644 --- a/plugins/API/API.php +++ b/plugins/API/API.php @@ -413,6 +413,9 @@ class API extends \Piwik\Plugin\API $language, $idGoal, $legendAppendMetric, $labelUseAbsoluteUrl); } + /** + * @deprecated + */ public function getLastDate($date, $period) { $lastDate = Range::getLastDate($date, $period); |