diff --git a/change_log.txt b/change_log.txt index 60ed909f..7f85723d 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,4 +1,6 @@ ===== trunk ===== +19.10.2011 +- revert PHP4 constructor message ===== Smarty-3.1.4 ===== 19.10.2011 - added exception when using PHP4 style constructor diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 807d6706..71597023 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -665,15 +665,6 @@ class Smarty extends Smarty_Internal_TemplateBase { } } - - /** - * Throw error when using PHP 4 style constructor - */ - public function Smarty() - { - throw new SmartyException("PHP5 requires you to call __construct() instead of Smarty()"); - } - /** * Check if a template resource exists *