From b731a767d5149fec9c258b175dc126a64b81fa2d Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Wed, 14 Aug 2013 16:14:01 +0200 Subject: [PATCH] remove unused method --- core/lib/Thelia/Action/Cart.php | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/core/lib/Thelia/Action/Cart.php b/core/lib/Thelia/Action/Cart.php index f59b632a2..bb1bfb55e 100755 --- a/core/lib/Thelia/Action/Cart.php +++ b/core/lib/Thelia/Action/Cart.php @@ -201,28 +201,4 @@ class Cart extends BaseAction implements EventSubscriberInterface ->findOne(); } - /** - * Find the good way to construct the cart form - * - * @param Request $request - * @return CartAdd - */ - private function getAddCartForm(Request $request) - { - if ($request->isMethod("post")) { - $cartAdd = new CartAdd($request); - } else { - $cartAdd = new CartAdd( - $request, - "form", - array(), - array( - 'csrf_protection' => false, - ) - ); - } - - return $cartAdd; - } - }