remove unused parameter

This commit is contained in:
uwetews
2015-08-09 20:56:18 +02:00
parent dde6bc506b
commit 6bcdd0edbe
2 changed files with 1 additions and 3 deletions

View File

@@ -25,8 +25,6 @@ class Smarty_Internal_Function_Call_Handler
* @param string $_name template function name
* @param Smarty_Internal_Template $_smarty_tpl
* @param string $_function PHP function name
* @param array $_params Smarty variables passed as call parameter
* @param bool $_nocache nocache flag
*
* @return bool
*/

View File

@@ -574,7 +574,7 @@ class Smarty_Internal_Template extends Smarty_Internal_TemplateBase
return;
}
// try to load template function dynamically
if (Smarty_Internal_Function_Call_Handler::call($name, $_smarty_tpl, $function, $params, $nocache)) {
if (Smarty_Internal_Function_Call_Handler::call($name, $_smarty_tpl, $function)) {
$function ($_smarty_tpl, $params);
return;
}