7
7
8
8
use Magento \Store \Model \App \Emulation ;
9
9
use Magento \Sitemap \Model \EmailNotification as SitemapEmail ;
10
- use Magento \Store \Model \StoreManagerInterface ;
11
10
use Magento \Framework \App \Config \ScopeConfigInterface ;
12
11
use Magento \Sitemap \Model \ResourceModel \Sitemap \CollectionFactory ;
13
12
use Magento \Store \Model \ScopeInterface ;
@@ -58,11 +57,6 @@ class Observer
58
57
*/
59
58
private $ collectionFactory ;
60
59
61
- /**
62
- * @var \Magento\Store\Model\StoreManagerInterface
63
- */
64
- private $ storeManager ;
65
-
66
60
/**
67
61
* @var Emulation
68
62
*/
@@ -77,20 +71,17 @@ class Observer
77
71
* Observer constructor.
78
72
* @param ScopeConfigInterface $scopeConfig
79
73
* @param CollectionFactory $collectionFactory
80
- * @param StoreManagerInterface $storeManager
81
74
* @param EmailNotification $emailNotification
82
75
* @param Emulation $appEmulation
83
76
*/
84
77
public function __construct (
85
78
ScopeConfigInterface $ scopeConfig ,
86
79
CollectionFactory $ collectionFactory ,
87
- StoreManagerInterface $ storeManager ,
88
80
SitemapEmail $ emailNotification ,
89
81
Emulation $ appEmulation
90
82
) {
91
83
$ this ->scopeConfig = $ scopeConfig ;
92
84
$ this ->collectionFactory = $ collectionFactory ;
93
- $ this ->storeManager = $ storeManager ;
94
85
$ this ->appEmulation = $ appEmulation ;
95
86
$ this ->emailNotification = $ emailNotification ;
96
87
}
0 commit comments