Skip to content

Commit

Permalink
fix cart session empty
Browse files Browse the repository at this point in the history
  • Loading branch information
darryldecode committed Feb 18, 2015
1 parent cde6166 commit 918d44d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Darryldecode/Cart/Cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,6 @@ public function __construct($session, $events, $instanceName, $session_key)
$this->instanceName = $instanceName;
$this->sessionKey = $session_key;
$this->conditions = new CartConditionCollection();

// initial cart container
$this->session->put(
$this->sessionKey,
array()
);

$this->events->fire($this->getInstanceName().'.created', array($this));
}

Expand Down

0 comments on commit 918d44d

Please sign in to comment.