We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cbb3ab commit 924567fCopy full SHA for 924567f
app/code/Magento/Newsletter/Model/Subscriber.php
@@ -419,7 +419,6 @@ public function subscribe($email)
419
self::XML_PATH_CONFIRMATION_FLAG,
420
\Magento\Store\Model\ScopeInterface::SCOPE_STORE
421
) == 1 ? true : false;
422
- $isOwnSubscribes = false;
423
424
$isSubscribeOwnEmail = $this->_customerSession->isLoggedIn()
425
&& $this->_customerSession->getCustomerDataObject()->getEmail() == $email;
0 commit comments