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/API/ProcessedReport.php | |
parent | 6ba622a68a26792af8cc22131f488f7ff5189d2c (diff) |
refs #7983 let plugins add or remove fields to websites and better settings api
Diffstat (limited to 'plugins/API/ProcessedReport.php')
-rw-r--r-- | plugins/API/ProcessedReport.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/API/ProcessedReport.php b/plugins/API/ProcessedReport.php index 8a9a96b537..f5c5cc1a91 100644 --- a/plugins/API/ProcessedReport.php +++ b/plugins/API/ProcessedReport.php @@ -23,7 +23,7 @@ use Piwik\Metrics\Formatter; use Piwik\Period; use Piwik\Piwik; use Piwik\Plugin\Report; -use Piwik\Plugin\Reports; +use Piwik\Plugin\ReportsProvider; use Piwik\Site; use Piwik\Timer; use Piwik\Url; @@ -168,7 +168,7 @@ class ProcessedReport $availableReports = array(); - $reports = new Reports(); + $reports = new ReportsProvider(); foreach ($reports->getAllReports() as $report) { $report->configureReportMetadata($availableReports, $parameters); } @@ -291,7 +291,7 @@ class ProcessedReport */ private static function sortReports($a, $b) { - $reports = new Reports(); + $reports = new ReportsProvider(); return $reports->compareCategories($a['category'], $a['subcategory'], $a['order'], $b['category'], $b['subcategory'], $b['order']); } |