Browse Source

rename the hooks:
pre_javascript_output to integrate_pre_javascript_output
and
pre_css_output to integrate_pre_css_output
for name compatibility with all other hooks.

Signed-off-by: PortaMx <[email protected]>

PortaMx 11 years ago
parent
commit
b8c3a95d37
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Sources/Subs.php

+ 2 - 2
Sources/Subs.php

@@ -3213,7 +3213,7 @@ function template_javascript($do_defered = false)
 	global $context, $modSettings, $settings;
 
 	// Use this hook to minify/optimize Javascript files and vars
-	call_integration_hook('pre_javascript_output');
+	call_integration_hook('integrate_pre_javascript_output');
 
 	// Ouput the declared Javascript variables.
 	if (!empty($context['javascript_vars']) && !$do_defered)
@@ -3292,7 +3292,7 @@ function template_css()
 	global $context;
 
 	// Use this hook to minify/optimize CSS files
-	call_integration_hook('pre_css_output');
+	call_integration_hook('integrate_pre_css_output');
 
 	foreach ($context['css_files'] as $id => $file)
 		echo '