diff options
Diffstat (limited to 'plugins/DBStats/DBStats.php')
-rw-r--r-- | plugins/DBStats/DBStats.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/DBStats/DBStats.php b/plugins/DBStats/DBStats.php index 52535defda..0a1c2b29d3 100644 --- a/plugins/DBStats/DBStats.php +++ b/plugins/DBStats/DBStats.php @@ -37,11 +37,11 @@ class DBStats extends \Piwik\Plugin public function getListHooksRegistered() { return array( - 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', - 'Menu.Admin.addItems' => 'addMenu', - 'TaskScheduler.getScheduledTasks' => 'getScheduledTasks', - 'ViewDataTable.configure' => 'configureViewDataTable', - 'Visualization.getDefaultViewTypeForReports' => 'getDefaultViewTypeForReports' + 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', + 'Menu.Admin.addItems' => 'addMenu', + 'TaskScheduler.getScheduledTasks' => 'getScheduledTasks', + 'ViewDataTable.configure' => 'configureViewDataTable', + 'Visualization.getDefaultTypeViewDataTable' => 'getDefaultTypeViewDataTable' ); } @@ -93,7 +93,7 @@ class DBStats extends \Piwik\Plugin return Option::get(self::TIME_OF_LAST_TASK_RUN_OPTION); } - public function getDefaultViewTypeForReports(&$defaultViewTypes) + public function getDefaultTypeViewDataTable(&$defaultViewTypes) { $defaultViewTypes['DBStats.getDatabaseUsageSummary'] = Pie::ID; $defaultViewTypes['DBStats.getTrackerDataSummary'] = HtmlTable::ID; |