diff options
Diffstat (limited to 'plugins/ExampleUI/Reports/GetPlanetRatios.php')
-rw-r--r-- | plugins/ExampleUI/Reports/GetPlanetRatios.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/ExampleUI/Reports/GetPlanetRatios.php b/plugins/ExampleUI/Reports/GetPlanetRatios.php index df18f9027c..22c6d60c44 100644 --- a/plugins/ExampleUI/Reports/GetPlanetRatios.php +++ b/plugins/ExampleUI/Reports/GetPlanetRatios.php @@ -8,7 +8,6 @@ namespace Piwik\Plugins\ExampleUI\Reports; -use Piwik\Plugin\Report; use Piwik\Plugin\ViewDataTable; use Piwik\Plugins\CoreVisualizations\Visualizations\Cloud; use Piwik\Plugins\CoreVisualizations\Visualizations\JqplotGraph\Pie; @@ -33,7 +32,7 @@ class GetPlanetRatios extends Base public function getDefaultTypeViewDataTable() { - return PIE::ID; + return Pie::ID; } public function configureWidgets(WidgetsList $widgetsList, ReportWidgetFactory $factory) @@ -56,7 +55,7 @@ class GetPlanetRatios extends Base { $view->config->addTranslation('value', 'times the diameter of Earth'); - if ($view->isViewDataTableId(PIE::ID)) { + if ($view->isViewDataTableId(Pie::ID)) { $view->config->columns_to_display = array('value'); $view->config->selectable_columns = array('value'); |