|
8 | 8 | use Magento\Email\Model\Template\Filter;
|
9 | 9 | use Magento\Framework\App\Filesystem\DirectoryList;
|
10 | 10 | use Magento\Framework\Filter\Template as FilterTemplate;
|
| 11 | +use Magento\Store\Model\ScopeInterface; |
11 | 12 | use Magento\Store\Model\StoreManagerInterface;
|
12 | 13 |
|
13 | 14 | /**
|
@@ -213,7 +214,7 @@ protected function _getLogoUrl($store)
|
213 | 214 | $store = $this->_storeManager->getStore($store);
|
214 | 215 | $fileName = $this->_scopeConfig->getValue(
|
215 | 216 | self::XML_PATH_DESIGN_EMAIL_LOGO,
|
216 |
| - \Magento\Store\Model\ScopeInterface::SCOPE_STORE, |
| 217 | + ScopeInterface::SCOPE_STORE, |
217 | 218 | $store
|
218 | 219 | );
|
219 | 220 | if ($fileName) {
|
@@ -252,7 +253,7 @@ protected function _getLogoAlt($store)
|
252 | 253 | $store = $this->_storeManager->getStore($store);
|
253 | 254 | $alt = $this->_scopeConfig->getValue(
|
254 | 255 | self::XML_PATH_DESIGN_EMAIL_LOGO_ALT,
|
255 |
| - \Magento\Store\Model\ScopeInterface::SCOPE_STORE, |
| 256 | + ScopeInterface::SCOPE_STORE, |
256 | 257 | $store
|
257 | 258 | );
|
258 | 259 | if ($alt) {
|
@@ -385,7 +386,7 @@ public function isValidForSend()
|
385 | 386 | {
|
386 | 387 | return !$this->_scopeConfig->isSetFlag(
|
387 | 388 | 'system/smtp/disable',
|
388 |
| - \Magento\Store\Model\ScopeInterface::SCOPE_STORE |
| 389 | + ScopeInterface::SCOPE_STORE |
389 | 390 | ) && $this->getSenderName() && $this->getSenderEmail() && $this->getTemplateSubject();
|
390 | 391 | }
|
391 | 392 |
|
|
0 commit comments