Skip to content

Commit

Permalink
remove log #1847 for magento 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzaloebiz committed Oct 31, 2023
1 parent 71c1e1f commit 800994e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Block/Subscribe.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,7 @@ public function showMobilePhone()
* @var $customer \Magento\Customer\Model\Customer
*/
$customer = $this->customerFactory->create()->load($this->customerSession->getCustomerId());
// /**
// * @var $customer \Magento\Customer\Model\Customer
// */
// $customer = $this->customerRepo->getById($this->customerSession->getCustomerId());
$mobilePhone = $customer->getData('mobile_phone');
$this->helper->log("Mobile [$mobilePhone]");
if ($mobilePhone&&$mobilePhone!='') {
$ret = false;
}
Expand Down

0 comments on commit 800994e

Please sign in to comment.