11
11
use Magento \Framework \App \Action \Context ;
12
12
use Magento \Customer \Model \Session ;
13
13
use Magento \Framework \Json \Helper \Data ;
14
- use Magento \Framework \Stdlib \CookieManagerInterface ;
15
14
16
15
class UpdateSession extends AbstractAccount
17
16
{
@@ -30,11 +29,6 @@ class UpdateSession extends AbstractAccount
30
29
*/
31
30
private $ session ;
32
31
33
- /**
34
- * @var CookieManagerInterface
35
- */
36
- private $ cookieManager ;
37
-
38
32
/**
39
33
* @var Data $helper
40
34
*/
@@ -45,22 +39,19 @@ class UpdateSession extends AbstractAccount
45
39
* @param NotificationStorage $notificationStorage
46
40
* @param CustomerRepository $customerRepository
47
41
* @param Session $customerSession
48
- * @param CookieManagerInterface $cookieManager
49
42
* @param Data $jsonHelper
50
43
*/
51
44
public function __construct (
52
45
Context $ context ,
53
46
NotificationStorage $ notificationStorage ,
54
47
CustomerRepository $ customerRepository ,
55
48
Session $ customerSession ,
56
- CookieManagerInterface $ cookieManager ,
57
49
Data $ jsonHelper
58
50
) {
59
51
parent ::__construct ($ context );
60
52
$ this ->notificationStorage = $ notificationStorage ;
61
53
$ this ->customerRepository = $ customerRepository ;
62
54
$ this ->session = $ customerSession ;
63
- $ this ->cookieManager = $ cookieManager ;
64
55
$ this ->jsonHelper = $ jsonHelper ;
65
56
}
66
57
0 commit comments