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/ProfessionalServices | |
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/ProfessionalServices')
-rw-r--r-- | plugins/ProfessionalServices/ProfessionalServices.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/plugins/ProfessionalServices/ProfessionalServices.php b/plugins/ProfessionalServices/ProfessionalServices.php index 77bf1d2118..a2d96f8b28 100644 --- a/plugins/ProfessionalServices/ProfessionalServices.php +++ b/plugins/ProfessionalServices/ProfessionalServices.php @@ -21,7 +21,6 @@ class ProfessionalServices extends \Piwik\Plugin { return array( 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', - 'Request.getRenamedModuleAndAction' => 'renameProfessionalServicesModule', 'Template.afterGoalConversionOverviewReport' => array('function' => 'getGoalOverviewPromo', 'after' => true), 'Template.afterGoalCannotAddNewGoal' => array('function' => 'getGoalOverviewPromo', 'after' => true), 'Template.endGoalEditTable' => array('function' => 'getGoalFunnelOverviewPromo', 'after' => true), @@ -40,26 +39,6 @@ class ProfessionalServices extends \Piwik\Plugin $stylesheets[] = 'plugins/ProfessionalServices/stylesheets/widget.less'; } - /** - * @deprecated Can be removed in Piwik 3.0 - * @param $module - * @param $action - */ - public function renameProfessionalServicesModule(&$module, &$action) - { - if ($module == 'ProfessionalServices') { - $module = 'ProfessionalServices'; - - if($action == 'promoPiwikPro') { - $action = 'promoServices'; - } - - if ($action == 'rssPiwikPro') { - $action = 'rss'; - } - } - } - public function isRequestForDashboardWidget() { $isWidget = Common::getRequestVar('widget', 0, 'int'); |