From a926328583e7ffdaaac7daf2f87810d842423f21 Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Wed, 10 Nov 2010 15:26:43 -0600 Subject: Changing all class constructors to __construct() --- system/libraries/Form_validation.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'system/libraries/Form_validation.php') diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php index cab6f34fd..d62071b79 100644 --- a/system/libraries/Form_validation.php +++ b/system/libraries/Form_validation.php @@ -39,9 +39,8 @@ class CI_Form_validation { /** * Constructor - * */ - function CI_Form_validation($rules = array()) + public function __construct($rules = array()) { $this->CI =& get_instance(); -- cgit v1.2.3-24-g4f1b