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:
authormattab <matthieu.aubry@gmail.com>2015-09-14 22:19:24 +0300
committermattab <matthieu.aubry@gmail.com>2015-09-14 22:19:36 +0300
commiteaa4c36aff234a3b9d247e189a04538162b5c1ad (patch)
treeba4f04150a495b53e313e1865bdf16e0bfa30321 /plugins/API
parentd12eb739e2f75038e94be47b9af9cf352a6f3961 (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.php3
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);