From d91d0d861110f658c537c3103513d2a44f03d03b Mon Sep 17 00:00:00 2001 From: mattab Date: Fri, 6 Sep 2013 15:32:43 +1200 Subject: * Renaming getCssFiles hook to getStylesheetFiles * Renaming function names * Removing getCss and getJs from CoreHome module since they are expected in the Proxy module Refs #4134 --- plugins/DBStats/DBStats.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/DBStats/DBStats.php') 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. */ -- cgit v1.2.3