From 5a57d5851c9bdf64a716560e97f3962dbd2e3c01 Mon Sep 17 00:00:00 2001 From: rGaillard Date: Wed, 26 Sep 2012 13:00:22 +0000 Subject: [PATCH] // Fix #PSCFV-4387 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17561 b9a71923-0436-4b27-9f14-aed3839534dd --- controllers/front/AuthController.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/controllers/front/AuthController.php b/controllers/front/AuthController.php index 7ff21ca60..15f2be65d 100644 --- a/controllers/front/AuthController.php +++ b/controllers/front/AuthController.php @@ -417,19 +417,8 @@ class AuthControllerCore extends FrontController else { if (!$customer->is_guest) - { - $customer->cleanGroups(); - // we add the customer in the default customer group - $customer->addGroups(array((int)Configuration::get('PS_CUSTOMER_GROUP'))); if (!$this->sendConfirmationMail($customer)) $this->errors[] = Tools::displayError('Cannot send e-mail'); - } - else - { - $customer->cleanGroups(); - // we add the guest customer in the guest customer group - $customer->addGroups(array((int)Configuration::get('PS_GUEST_GROUP'))); - } $this->updateContext($customer);