diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-09-06 07:32:43 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-09-06 07:32:43 +0400 |
commit | d91d0d861110f658c537c3103513d2a44f03d03b (patch) | |
tree | 610f0985bb91820f5f13368c03f8d6c5f650751d /plugins/DBStats/DBStats.php | |
parent | 6a9e2423fa588da3230148789ff20dcce5fc4e8d (diff) |
* 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
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. */ |