From 6bcdd0edbea3ea7cd61d6143d2f6284b9c626492 Mon Sep 17 00:00:00 2001 From: uwetews Date: Sun, 9 Aug 2015 20:56:18 +0200 Subject: [PATCH] remove unused parameter --- libs/sysplugins/smarty_internal_function_call_handler.php | 2 -- libs/sysplugins/smarty_internal_template.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/libs/sysplugins/smarty_internal_function_call_handler.php b/libs/sysplugins/smarty_internal_function_call_handler.php index 88775c08..a6a7fb48 100644 --- a/libs/sysplugins/smarty_internal_function_call_handler.php +++ b/libs/sysplugins/smarty_internal_function_call_handler.php @@ -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 */ diff --git a/libs/sysplugins/smarty_internal_template.php b/libs/sysplugins/smarty_internal_template.php index 953bf96a..a51e1cb8 100644 --- a/libs/sysplugins/smarty_internal_template.php +++ b/libs/sysplugins/smarty_internal_template.php @@ -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; }