Skip to content

Commit dc4cc89

Browse files
committed
Added XML_PATH_dNEWSLETTER_ACTIVE as deprecated
1 parent 2b12036 commit dc4cc89

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/code/Magento/Newsletter/Observer/PredispatchNewsletterObserver.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@
2020
*/
2121
class PredispatchNewsletterObserver implements ObserverInterface
2222
{
23+
/**
24+
* @deprecated
25+
* use Magento\Newsletter\Model\Config::XML_PATH_NEWSLETTER_ACTIVE instead
26+
*/
27+
const XML_PATH_NEWSLETTER_ACTIVE = 'newsletter/general/active';
28+
2329
/**
2430
* @var Newsletter Config
2531
*/

0 commit comments

Comments
 (0)