mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
remove unused parameter
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user