From 2560e83517536859ca62440c14b04ec9db2af00e Mon Sep 17 00:00:00 2001 From: Thomas Steur Date: Sun, 20 Oct 2013 21:06:47 +0000 Subject: It was confusing to have a coreViewDataTable and pluginViewDataTable class. In addition the coreViewDataTable did two things: Instance creation and managing all viewDataTables --> two new classes --- plugins/DBStats/DBStats.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/DBStats/DBStats.php') diff --git a/plugins/DBStats/DBStats.php b/plugins/DBStats/DBStats.php index 0a1c2b29d3..63f9f439f5 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.getDefaultTypeViewDataTable' => 'getDefaultTypeViewDataTable' + 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', + 'Menu.Admin.addItems' => 'addMenu', + 'TaskScheduler.getScheduledTasks' => 'getScheduledTasks', + 'ViewDataTable.configure' => 'configureViewDataTable', + 'ViewDataTable.getDefaultType' => 'getDefaultTypeViewDataTable' ); } -- cgit v1.2.3