diff options
author | Peter Zhang <peter@innocraft.com> | 2022-01-26 03:16:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-26 03:16:57 +0300 |
commit | da4be81ebbe1e9225e2ac7b4eb8c272e33eeb088 (patch) | |
tree | cc4e58731ccabc576e396242a48c26768aa64e2c /plugins/MultiSites | |
parent | a0705d8fd53f3818c517fa386c0e377196937942 (diff) |
Revert "add date, period params into common function (#18653)" (#18685)
This reverts commit a0705d8fd53f3818c517fa386c0e377196937942.
Diffstat (limited to 'plugins/MultiSites')
-rw-r--r-- | plugins/MultiSites/Controller.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MultiSites/Controller.php b/plugins/MultiSites/Controller.php index ae19acc3a1..86792958f6 100644 --- a/plugins/MultiSites/Controller.php +++ b/plugins/MultiSites/Controller.php @@ -74,8 +74,8 @@ class Controller extends \Piwik\Plugin\Controller { Piwik::checkUserHasSomeViewAccess(); - $date = Piwik::getDate('today'); - $period = Piwik::getPeriod('day'); + $date = Common::getRequestVar('date', 'today'); + $period = Common::getRequestVar('period', 'day'); $view = new View("@MultiSites/getSitesInfo"); |