From 70dc89ad418a9d335492359648ffa58811df4477 Mon Sep 17 00:00:00 2001 From: Devansh Date: Tue, 4 Aug 2020 17:32:00 +0530 Subject: [PATCH] One Line And One Line Removed --- .../Webkul/Customer/src/Repositories/CustomerRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/Webkul/Customer/src/Repositories/CustomerRepository.php b/packages/Webkul/Customer/src/Repositories/CustomerRepository.php index 635593f7e..1e853476a 100755 --- a/packages/Webkul/Customer/src/Repositories/CustomerRepository.php +++ b/packages/Webkul/Customer/src/Repositories/CustomerRepository.php @@ -39,13 +39,13 @@ class CustomerRepository extends Repository public function checkBulkCustomerIfTheyHaveOrderPendingOrProcessing($customerIds) { foreach ($customerIds as $customerId) { - $customer = $this->findorFail($customerId); if ($this->checkIfCustomerHasOrderPendingOrProcessing($customer)) { return true; } } + return false; } } \ No newline at end of file