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-10-09 06:27:46 +0400
committermattab <matthieu.aubry@gmail.com>2013-10-09 06:27:46 +0400
commit4d341983cb34ee64b199295923a4dadfb5b38b6e (patch)
tree2e6c5e1b54fa24f65d5a11d9b82c406dedc6383a /core/AssetManager.php
parent26bd3bc6cc6a7b83357050d6ebddee708e5fe20d (diff)
Refs #4202 removing functions Piwik_PostEvent and moving to Piwik::postEvent
Diffstat (limited to 'core/AssetManager.php')
-rw-r--r--core/AssetManager.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/AssetManager.php b/core/AssetManager.php
index f199ce85fa..1adfae0f86 100644
--- a/core/AssetManager.php
+++ b/core/AssetManager.php
@@ -165,7 +165,7 @@ class AssetManager
* merged into one file but before the generated CSS is written to disk. It can be used to change the modify the
* stylesheets to your needs, like replacing image paths or adding further custom stylesheets.
*/
- Piwik_PostEvent('AssetManager.filterMergedStylesheets', array(&$mergedContent));
+ Piwik::postEvent('AssetManager.filterMergedStylesheets', array(&$mergedContent));
$mergedContent =
$firstLineCompileHash . "\n"
@@ -300,7 +300,7 @@ class AssetManager
* }
* ```
*/
- Piwik_PostEvent(self::STYLESHEET_IMPORT_EVENT, array(&$stylesheets));
+ Piwik::postEvent(self::STYLESHEET_IMPORT_EVENT, array(&$stylesheets));
$stylesheets = self::sortCssFiles($stylesheets);
@@ -382,7 +382,7 @@ class AssetManager
* generated JS file is written to disk. It can be used to change the generated JavaScript to your needs,
* like adding further scripts or storing the generated file somewhere else.
*/
- Piwik_PostEvent('AssetManager.filterMergedJavaScripts', array(&$mergedContent));
+ Piwik::postEvent('AssetManager.filterMergedJavaScripts', array(&$mergedContent));
self::writeAssetToFile($mergedContent, self::MERGED_JS_FILE);
}
@@ -428,7 +428,7 @@ class AssetManager
* }
* ```
*/
- Piwik_PostEvent(self::JAVASCRIPT_IMPORT_EVENT, array(&$jsFiles));
+ Piwik::postEvent(self::JAVASCRIPT_IMPORT_EVENT, array(&$jsFiles));
$jsFiles = self::sortJsFiles($jsFiles);
return $jsFiles;
}