summaryrefslogtreecommitdiffstats
path: root/system/libraries/Cart.php
diff options
context:
space:
mode:
authorGreg Aker <greg.aker@ellislab.com>2010-11-10 22:26:43 +0100
committerGreg Aker <greg.aker@ellislab.com>2010-11-10 22:26:43 +0100
commita926328583e7ffdaaac7daf2f87810d842423f21 (patch)
tree7e4b62b3029de2a7273ab94d30148a60e496ada7 /system/libraries/Cart.php
parent579fde36e4f8cc294edec4fd4eefe06f4df09dda (diff)
Changing all class constructors to __construct()
Diffstat (limited to 'system/libraries/Cart.php')
-rw-r--r--system/libraries/Cart.php2
1 files changed, 1 insertions, 1 deletions
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();