diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2016-03-10 00:55:45 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2016-04-11 05:11:33 +0300 |
commit | b52ae4e7e488e0474d67c54578e1d6c1aa066bff (patch) | |
tree | f94b02f774cbc24faaa18f29ee1e19fef8b338af /plugins/Events | |
parent | 6ba622a68a26792af8cc22131f488f7ff5189d2c (diff) |
refs #7983 let plugins add or remove fields to websites and better settings api
Diffstat (limited to 'plugins/Events')
-rw-r--r-- | plugins/Events/Events.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Events/Events.php b/plugins/Events/Events.php index 15c49e87f1..8ae0f5cb2e 100644 --- a/plugins/Events/Events.php +++ b/plugins/Events/Events.php @@ -13,7 +13,7 @@ use Piwik\DataTable; use Piwik\Piwik; use Piwik\Plugin\Report; use Piwik\Plugin\ViewDataTable; -use Piwik\Plugin\Reports; +use Piwik\Plugin\ReportsProvider; use Piwik\Plugins\CoreVisualizations\Visualizations\HtmlTable\AllColumns; class Events extends \Piwik\Plugin @@ -180,7 +180,7 @@ class Events extends \Piwik\Plugin $this->addRelatedReports($view, $secondaryDimension); $this->addTooltipEventValue($view); - $subtableReport = Reports::factory('Events', $view->config->subtable_controller_action); + $subtableReport = ReportsProvider::factory('Events', $view->config->subtable_controller_action); $view->config->pivot_by_dimension = $subtableReport->getDimension()->getId(); $view->config->pivot_by_column = 'nb_events'; } |