diff options
Diffstat (limited to 'plugins/DBStats/DBStats.php')
-rw-r--r-- | plugins/DBStats/DBStats.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/DBStats/DBStats.php b/plugins/DBStats/DBStats.php index 9cb9c42fc3..22e767f360 100644 --- a/plugins/DBStats/DBStats.php +++ b/plugins/DBStats/DBStats.php @@ -31,7 +31,7 @@ class DBStats extends \Piwik\Plugin public function getListHooksRegistered() { return array( - 'AssetManager.getCssFiles' => 'getCssFiles', + 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', 'AdminMenu.add' => 'addMenu', 'TaskScheduler.getScheduledTasks' => 'getScheduledTasks', 'ViewDataTable.getReportDisplayProperties' => 'getReportDisplayProperties', @@ -75,9 +75,9 @@ class DBStats extends \Piwik\Plugin Piwik_SetOption(self::TIME_OF_LAST_TASK_RUN_OPTION, $now); } - public function getCssFiles(&$cssFiles) + public function getStylesheetFiles(&$stylesheets) { - $cssFiles[] = "plugins/DBStats/stylesheets/dbStatsTable.less"; + $stylesheets[] = "plugins/DBStats/stylesheets/dbStatsTable.less"; } /** Returns the date when the cacheDataByArchiveNameReports was last run. */ |