commit | a926328583e7ffdaaac7daf2f87810d842423f21 | [log] [tgz] |
---|---|---|
author | Greg Aker <greg.aker@ellislab.com> | Wed Nov 10 15:26:43 2010 -0600 |
committer | Greg Aker <greg.aker@ellislab.com> | Wed Nov 10 15:26:43 2010 -0600 |
tree | 7e4b62b3029de2a7273ab94d30148a60e496ada7 | |
parent | 579fde36e4f8cc294edec4fd4eefe06f4df09dda [diff] [blame] |
Changing all class constructors to __construct()
diff --git a/system/libraries/Cart.php b/system/libraries/Cart.php index f2121bc..5d3f91d 100644 --- a/system/libraries/Cart.php +++ b/system/libraries/Cart.php
@@ -40,7 +40,7 @@ * * 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();