From 50c81af9199936c1a1471a976e9b6891e65b54b7 Mon Sep 17 00:00:00 2001 From: messju Date: Mon, 8 Nov 2004 08:26:16 +0000 Subject: [PATCH] removed unused code --- libs/Smarty_Compiler.class.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/libs/Smarty_Compiler.class.php b/libs/Smarty_Compiler.class.php index 17272052..b47bf542 100644 --- a/libs/Smarty_Compiler.class.php +++ b/libs/Smarty_Compiler.class.php @@ -423,12 +423,8 @@ class Smarty_Compiler extends Smarty { if (preg_match('~^' . $this->_num_const_regexp . '|' . $this->_obj_call_regexp . '|' . $this->_var_regexp . '$~', $tag_command)) { /* tag name is a variable or object */ - $_return = $this->_parse_var_props($tag_command . $tag_modifier, $this->_parse_attrs($tag_args)); - if(isset($_tag_attrs['assign'])) { - return "assign('" . $this->_dequote($_tag_attrs['assign']) . "', $_return ); ?>\n"; - } else { - return "" . $this->_additional_newline; - } + $_return = $this->_parse_var_props($tag_command . $tag_modifier); + return "" . $this->_additional_newline; } /* If the tag name is a registered object, we process it. */