File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
app/code/Magento/Email/Model Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 17
17
*/
18
18
class TransportInterfacePlugin
19
19
{
20
- /**
21
- * Config path to mail sending setting that shows if email communications are disabled
22
- */
23
- const XML_PATH_SYSTEM_SMTP_DISABLE = 'system/smtp/disable ' ;
24
-
25
20
/**
26
21
* @var ScopeConfigInterface
27
22
*/
@@ -49,7 +44,7 @@ public function aroundSendMessage(
49
44
TransportInterface $ subject ,
50
45
\Closure $ proceed
51
46
) {
52
- if (!$ this ->scopeConfig ->isSetFlag (self :: XML_PATH_SYSTEM_SMTP_DISABLE , ScopeInterface::SCOPE_STORE )) {
47
+ if (!$ this ->scopeConfig ->isSetFlag (' system/smtp/disable ' , ScopeInterface::SCOPE_STORE )) {
53
48
$ proceed ();
54
49
}
55
50
}
Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ class Template extends AbstractTemplate implements \Magento\Framework\Mail\Templ
57
57
/**
58
58
* Config path to mail sending setting that shows if email communications are disabled
59
59
* @deprecated
60
- * @see \Magento\Email\Model\Mail\TransportInterfacePlugin::XML_PATH_SYSTEM_SMTP_DISABLE
61
60
*/
62
61
const XML_PATH_SYSTEM_SMTP_DISABLE = 'system/smtp/disable ' ;
63
62
You can’t perform that action at this time.
0 commit comments