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/VisitsSummary/Widgets/Index.php | |
parent | 6ba622a68a26792af8cc22131f488f7ff5189d2c (diff) |
refs #7983 let plugins add or remove fields to websites and better settings api
Diffstat (limited to 'plugins/VisitsSummary/Widgets/Index.php')
-rw-r--r-- | plugins/VisitsSummary/Widgets/Index.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/VisitsSummary/Widgets/Index.php b/plugins/VisitsSummary/Widgets/Index.php index 1b39fad7c6..0de38cfd42 100644 --- a/plugins/VisitsSummary/Widgets/Index.php +++ b/plugins/VisitsSummary/Widgets/Index.php @@ -11,7 +11,7 @@ namespace Piwik\Plugins\VisitsSummary\Widgets; use Piwik\Plugin\Report; use Piwik\Plugins\CoreVisualizations\Visualizations\JqplotGraph\Evolution; use Piwik\Plugins\CoreVisualizations\Visualizations\Sparklines; -use Piwik\Plugin\Reports; +use Piwik\Plugin\ReportsProvider; use Piwik\Report\ReportWidgetFactory; use Piwik\Widget\WidgetsList; @@ -24,12 +24,12 @@ class Index extends \Piwik\Widget\WidgetContainerConfig public function isEnabled() { - return Reports::factory('VisitsSummary', 'get')->isEnabled(); + return ReportsProvider::factory('VisitsSummary', 'get')->isEnabled(); } public function getWidgetConfigs() { - $report = Reports::factory('VisitsSummary', 'get'); + $report = ReportsProvider::factory('VisitsSummary', 'get'); $factory = new ReportWidgetFactory($report); $widgets = array(); |