- optimization get rid of __get and __set in source object

This commit is contained in:
Uwe Tews
2015-07-06 03:25:03 +02:00
parent b198e6488c
commit b1fdc085e7
15 changed files with 46 additions and 72 deletions

View File

@@ -21,10 +21,9 @@ class Smarty_Internal_Extension_DefaultTemplateHandler
* get default content from template of config resource handler
*
* @param Smarty_Internal_Template $_template
* @param Smarty_Internal_Template_Source $source
* @param Smarty_Resource $resObj
* @param Smarty_Template_Source $source
*/
static function _getDefault(Smarty_Internal_Template $_template, &$source, &$resObj)
static function _getDefault(Smarty_Internal_Template $_template, $source)
{
if ($source->isConfig) {
$default_handler = $_template->smarty->default_config_handler_func;