Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2013-09-06 07:32:43 +0400
committermattab <matthieu.aubry@gmail.com>2013-09-06 07:32:43 +0400
commitd91d0d861110f658c537c3103513d2a44f03d03b (patch)
tree610f0985bb91820f5f13368c03f8d6c5f650751d /plugins/Annotations
parent6a9e2423fa588da3230148789ff20dcce5fc4e8d (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/Annotations')
-rwxr-xr-xplugins/Annotations/Annotations.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Annotations/Annotations.php b/plugins/Annotations/Annotations.php
index 3b756314c9..92609ecf16 100755
--- a/plugins/Annotations/Annotations.php
+++ b/plugins/Annotations/Annotations.php
@@ -24,7 +24,7 @@ class Annotations extends \Piwik\Plugin
public function getListHooksRegistered()
{
return array(
- 'AssetManager.getCssFiles' => 'getCssFiles',
+ 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles',
'AssetManager.getJsFiles' => 'getJsFiles'
);
}
@@ -32,9 +32,9 @@ class Annotations extends \Piwik\Plugin
/**
* Adds css files for this plugin to the list in the event notification.
*/
- public function getCssFiles(&$cssFiles)
+ public function getStylesheetFiles(&$stylesheets)
{
- $cssFiles[] = "plugins/Annotations/stylesheets/annotations.less";
+ $stylesheets[] = "plugins/Annotations/stylesheets/annotations.less";
}
/**