Skip to content

Commit

Permalink
refs #4134 better name for constant after renaming the hook
Browse files Browse the repository at this point in the history
  • Loading branch information
tsteur committed Oct 1, 2013
1 parent 43883bd commit 7b7df45
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/AssetManager.php
Expand Up @@ -43,8 +43,8 @@ class AssetManager
const MERGED_CSS_FILE = "asset_manager_global_css.css";
const MERGED_JS_FILE = "asset_manager_global_js.js";
const TRANSLATIONS_JS_FILE = "asset_manager_translations_js.js";
const CSS_IMPORT_EVENT = "AssetManager.getStylesheetFiles";
const JS_IMPORT_EVENT = "AssetManager.getJavaScriptFiles";
const STYLESHEET_IMPORT_EVENT = "AssetManager.getStylesheetFiles";
const JAVASCRIPT_IMPORT_EVENT = "AssetManager.getJavaScriptFiles";
const MERGED_FILE_DIR = "tmp/assets/";
const COMPRESSED_FILE_LOCATION = "/tmp/assets/";

Expand Down Expand Up @@ -275,7 +275,7 @@ private static function getIndividualCssIncludes()
private static function getStylesheetFiles()
{
$stylesheets = array();
Piwik_PostEvent(self::CSS_IMPORT_EVENT, array(&$stylesheets));
Piwik_PostEvent(self::STYLESHEET_IMPORT_EVENT, array(&$stylesheets));

$stylesheets = self::sortCssFiles($stylesheets);

Expand Down Expand Up @@ -387,7 +387,7 @@ private static function getIndividualJsIncludes()
private static function getJsFiles()
{
$jsFiles = array();
Piwik_PostEvent(self::JS_IMPORT_EVENT, array(&$jsFiles));
Piwik_PostEvent(self::JAVASCRIPT_IMPORT_EVENT, array(&$jsFiles));
$jsFiles = self::sortJsFiles($jsFiles);
return $jsFiles;
}
Expand Down

0 comments on commit 7b7df45

Please sign in to comment.