Skip to content

Commit 12f8ff4

Browse files
committed
MAGETWO-52117: Customer group is not changed for logged in customer
1 parent 4602c5a commit 12f8ff4

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

app/code/Magento/Customer/Controller/Account/UpdateSession.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
use Magento\Framework\App\Action\Context;
1212
use Magento\Customer\Model\Session;
1313
use Magento\Framework\Json\Helper\Data;
14-
use Magento\Framework\Stdlib\CookieManagerInterface;
1514

1615
class UpdateSession extends AbstractAccount
1716
{
@@ -30,11 +29,6 @@ class UpdateSession extends AbstractAccount
3029
*/
3130
private $session;
3231

33-
/**
34-
* @var CookieManagerInterface
35-
*/
36-
private $cookieManager;
37-
3832
/**
3933
* @var Data $helper
4034
*/
@@ -45,22 +39,19 @@ class UpdateSession extends AbstractAccount
4539
* @param NotificationStorage $notificationStorage
4640
* @param CustomerRepository $customerRepository
4741
* @param Session $customerSession
48-
* @param CookieManagerInterface $cookieManager
4942
* @param Data $jsonHelper
5043
*/
5144
public function __construct(
5245
Context $context,
5346
NotificationStorage $notificationStorage,
5447
CustomerRepository $customerRepository,
5548
Session $customerSession,
56-
CookieManagerInterface $cookieManager,
5749
Data $jsonHelper
5850
) {
5951
parent::__construct($context);
6052
$this->notificationStorage = $notificationStorage;
6153
$this->customerRepository = $customerRepository;
6254
$this->session = $customerSession;
63-
$this->cookieManager = $cookieManager;
6455
$this->jsonHelper = $jsonHelper;
6556
}
6657

0 commit comments

Comments
 (0)