From 800994e8fb101261ed549006bcf0fa815c00c419 Mon Sep 17 00:00:00 2001 From: gonzalo Date: Tue, 31 Oct 2023 11:07:44 -0300 Subject: [PATCH] remove log #1847 for magento 2.4 --- Block/Subscribe.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Block/Subscribe.php b/Block/Subscribe.php index bff1eb44..23d85fc6 100644 --- a/Block/Subscribe.php +++ b/Block/Subscribe.php @@ -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; }