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 dbced45 commit e526b4eCopy full SHA for e526b4e
app/code/Magento/Newsletter/Model/Subscriber.php
@@ -417,7 +417,6 @@ public function subscribe($email)
417
self::XML_PATH_CONFIRMATION_FLAG,
418
\Magento\Store\Model\ScopeInterface::SCOPE_STORE
419
) == 1 ? true : false;
420
- $isOwnSubscribes = false;
421
422
$isSubscribeOwnEmail = $this->_customerSession->isLoggedIn()
423
&& $this->_customerSession->getCustomerDataObject()->getEmail() == $email;
0 commit comments