Skip to content

Commit b029a3c

Browse files
committed
MAGETWO-66424: Is Allowed Guest Checkout #7464
- Merge Pull Request #7464 from hungvt/magento2:patch-2
2 parents 23f7456 + 8bfe7ea commit b029a3c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/code/Magento/Downloadable/Observer/IsAllowedGuestCheckoutObserver.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ public function execute(\Magento\Framework\Event\Observer $observer)
4242
$store = $observer->getEvent()->getStore();
4343
$result = $observer->getEvent()->getResult();
4444

45-
$result->setIsAllowed(true);
46-
4745
if (!$this->_scopeConfig->isSetFlag(
4846
self::XML_PATH_DISABLE_GUEST_CHECKOUT,
4947
ScopeInterface::SCOPE_STORE,

0 commit comments

Comments
 (0)