remove call to setCookie in cartTrait

This commit is contained in:
Manuel Raynaud
2014-04-17 16:56:14 +02:00
parent a55801f354
commit 8979fcbadb

View File

@@ -136,14 +136,6 @@ trait CartTrait
if (ConfigQuery::read("cart.session_only", 0) == 0) {
$id = uniqid('', true);
$session->set('cart_use_cookie', $id);
setcookie(
"thelia_cart",
$id,
time()+ConfigQuery::read("cart.cookie_lifetime", 60*60*24*365),
'/'
);
}
return $id;