revert PHP4 constructor

This commit is contained in:
monte.ohrt
2011-10-19 19:20:58 +00:00
parent dd30176b9e
commit 5547f8a485
2 changed files with 2 additions and 9 deletions
-9
View File
@@ -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
*