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/Installation/Installation.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/Installation/Installation.php')
-rw-r--r-- | plugins/Installation/Installation.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Installation/Installation.php b/plugins/Installation/Installation.php index 91224a6ceb..aca46527dc 100644 --- a/plugins/Installation/Installation.php +++ b/plugins/Installation/Installation.php @@ -31,7 +31,7 @@ class Installation extends \Piwik\Plugin 'FrontController.NoConfigurationFile' => 'dispatch', 'FrontController.badConfigurationFile' => 'dispatch', 'AdminMenu.add' => 'addMenu', - 'AssetManager.getCssFiles' => 'getCss', + 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', ); return $hooks; } @@ -86,8 +86,8 @@ class Installation extends \Piwik\Plugin /** * Adds CSS files to list of CSS files for asset manager. */ - public function getCss(&$cssFiles) + public function getStylesheetFiles(&$stylesheets) { - $cssFiles[] = "plugins/Installation/stylesheets/systemCheckPage.less"; + $stylesheets[] = "plugins/Installation/stylesheets/systemCheckPage.less"; } } |