Skip to content

Commit 1b493da

Browse files
committed
ACP2E-1332: activate customer account and redirect to login
1 parent ff699d2 commit 1b493da

File tree

1 file changed

+0
-42
lines changed
  • app/code/Magento/Customer/Controller/Account

1 file changed

+0
-42
lines changed

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

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,6 @@ class Confirm extends AbstractAccount implements HttpGetActionInterface
6565
*/
6666
protected $session;
6767

68-
/**
69-
* @var \Magento\Framework\Stdlib\Cookie\CookieMetadataFactory
70-
*/
71-
private $cookieMetadataFactory;
72-
73-
/**
74-
* @var \Magento\Framework\Stdlib\Cookie\PhpCookieManager
75-
*/
76-
private $cookieMetadataManager;
77-
7868
/**
7969
* @param Context $context
8070
* @param Session $customerSession
@@ -105,38 +95,6 @@ public function __construct(
10595
parent::__construct($context);
10696
}
10797

108-
/**
109-
* Retrieve cookie manager
110-
*
111-
* @deprecated 101.0.0
112-
* @return \Magento\Framework\Stdlib\Cookie\PhpCookieManager
113-
*/
114-
private function getCookieManager()
115-
{
116-
if (!$this->cookieMetadataManager) {
117-
$this->cookieMetadataManager = \Magento\Framework\App\ObjectManager::getInstance()->get(
118-
\Magento\Framework\Stdlib\Cookie\PhpCookieManager::class
119-
);
120-
}
121-
return $this->cookieMetadataManager;
122-
}
123-
124-
/**
125-
* Retrieve cookie metadata factory
126-
*
127-
* @deprecated 101.0.0
128-
* @return \Magento\Framework\Stdlib\Cookie\CookieMetadataFactory
129-
*/
130-
private function getCookieMetadataFactory()
131-
{
132-
if (!$this->cookieMetadataFactory) {
133-
$this->cookieMetadataFactory = \Magento\Framework\App\ObjectManager::getInstance()->get(
134-
\Magento\Framework\Stdlib\Cookie\CookieMetadataFactory::class
135-
);
136-
}
137-
return $this->cookieMetadataFactory;
138-
}
139-
14098
/**
14199
* Confirm customer account by id and confirmation key
142100
*

0 commit comments

Comments
 (0)