Skip to content

Commit c80fbf5

Browse files
committedSep 23, 2023
Update deleteCustomer.php
1 parent 67970ef commit c80fbf5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎deleteCustomer.php

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public function deleteCustomers() {
4747
$collection = $this->_objectManager->create('\Magento\Customer\Model\Customer');
4848
$customers = $collection->getCollection()
4949
->addAttributeToFilter("email", ["like" => "%@qq.com"])
50+
->addAttributeToSort('entity_id', 'DESC')
5051
// ->addAttributeToFilter("email", ["like" => "%@sina.com"])
5152
// ->addAttributeToFilter("email", ["like" => "%@yahoo.com.cn"])
5253
// ->addAttributeToFilter("email", ["like" => "%@163.com"])

0 commit comments

Comments
 (0)
Please sign in to comment.