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 1717 */
1818class TransportInterfacePlugin
1919{
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-
2520 /**
2621 * @var ScopeConfigInterface
2722 */
@@ -49,7 +44,7 @@ public function aroundSendMessage(
4944 TransportInterface $ subject ,
5045 \Closure $ proceed
5146 ) {
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 )) {
5348 $ proceed ();
5449 }
5550 }
Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ class Template extends AbstractTemplate implements \Magento\Framework\Mail\Templ
5757 /**
5858 * Config path to mail sending setting that shows if email communications are disabled
5959 * @deprecated
60- * @see \Magento\Email\Model\Mail\TransportInterfacePlugin::XML_PATH_SYSTEM_SMTP_DISABLE
6160 */
6261 const XML_PATH_SYSTEM_SMTP_DISABLE = 'system/smtp/disable ' ;
6362
You can’t perform that action at this time.
0 commit comments