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/Cart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/libraries/Cart.php') diff --git a/system/libraries/Cart.php b/system/libraries/Cart.php index f2121bcac..5d3f91d43 100644 --- a/system/libraries/Cart.php +++ b/system/libraries/Cart.php @@ -40,7 +40,7 @@ class CI_Cart { * * The constructor loads the Session class, used to store the shopping cart contents. */ - function CI_Cart($params = array()) + public function __construct($params = array()) { // Set the super object to a local variable for use later $this->CI =& get_instance(); -- cgit v1.2.3-24-g4f1b