diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2020-06-03 09:47:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-03 09:47:44 +0300 |
commit | 7585967cbd80d7869f57a9adc69c02e8d14cbc33 (patch) | |
tree | 7b06afedbcb883175f02ffff141809d001097b64 /plugins/VisitsSummary | |
parent | caf7dbf0fdd3e91a47fa49f297ed18a75ddeff9d (diff) |
Remove code tagged with `@deprecated` (#16001)
* remove some code tagged with deprecated
* some more tweaks
* remove more deprecated methods
* more deprecations
* remove old files
* remove more deprecated methods
* fix some tests
* update logviewer submodule
* fix some tests
* fix ui test
* another deprecation
* Update CHANGELOG.md
Co-authored-by: Stefan Giehl <stefan@matomo.org>
* add test for dimensions provider
Co-authored-by: Stefan Giehl <stefan@matomo.org>
Diffstat (limited to 'plugins/VisitsSummary')
-rw-r--r-- | plugins/VisitsSummary/Controller.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/VisitsSummary/Controller.php b/plugins/VisitsSummary/Controller.php index 481dcd881f..97179241d8 100644 --- a/plugins/VisitsSummary/Controller.php +++ b/plugins/VisitsSummary/Controller.php @@ -40,22 +40,22 @@ class Controller extends \Piwik\Plugin\Controller /** * @deprecated used to be a widgetized URL. There to not break widget URLs */ - public function getSparklines() + public function index() { - $_GET['forceView'] = '1'; - $_GET['viewDataTable'] = Sparklines::ID; + $_GET['containerId'] = 'VisitOverviewWithGraph'; - return FrontController::getInstance()->fetchDispatch('VisitsSummary', 'get'); + return FrontController::getInstance()->fetchDispatch('CoreHome', 'renderWidgetContainer'); } /** * @deprecated used to be a widgetized URL. There to not break widget URLs */ - public function index() + public function getSparklines() { - $_GET['containerId'] = 'VisitOverviewWithGraph'; + $_GET['forceView'] = '1'; + $_GET['viewDataTable'] = Sparklines::ID; - return FrontController::getInstance()->fetchDispatch('CoreHome', 'renderWidgetContainer'); + return FrontController::getInstance()->fetchDispatch('VisitsSummary', 'get'); } public function getEvolutionGraph() |