From 374d801d51e513f2dd5b290618c7ca25376830d2 Mon Sep 17 00:00:00 2001 From: "monte.ohrt" Date: Mon, 8 Mar 2010 15:16:35 +0000 Subject: [PATCH] remove comment --- libs/Smarty.class.php | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index eb83231e..4eb1b5f4 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -751,21 +751,6 @@ class Smarty extends Smarty_Internal_Data { $this->wrapper = new Smarty_Internal_Wrapper($this); } return $this->wrapper->convert($name, $args); - - /* - $name = strtolower($name); - if ($name == 'smarty') { - throw new Exception('Please use parent::__construct() to call parent constuctor'); - } - $function_name = 'smarty_method_' . $name; - if (!is_callable($function_name)) { - if (!file_exists(SMARTY_SYSPLUGINS_DIR . $function_name . '.php')) { - throw new Exception('Undefined Smarty method "' . $name . '"'); - } - require_once(SMARTY_SYSPLUGINS_DIR . $function_name . '.php'); - } - return call_user_func_array($function_name, array_merge(array($this), $args)); - */ } }