From: Alexander Smirnov Date: Tue, 4 Feb 2025 13:53:16 +0000 (+0300) Subject: remove debug X-Git-Tag: 1.7~17^2 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=90529d4a181cd933a9439fb94c428cc721079e43;p=erp24_rep%2Fyii-erp24%2F.git remove debug --- diff --git a/erp24/commands/CronController.php b/erp24/commands/CronController.php index f1fb2203..2e184ced 100644 --- a/erp24/commands/CronController.php +++ b/erp24/commands/CronController.php @@ -422,9 +422,9 @@ class CronController extends Controller ->column(); $testPhones = array_map('trim', explode(',', $messagesSettings->test_phones_list)); foreach ($kogortPhones as $key => $phone) { -// if (in_array($phone, $testPhones)) { -// continue; -// } + if (in_array($phone, $testPhones)) { + continue; + } if (!in_array($phone, $userBonusExist)) { $userBonus4 = new UsersBonus(); $userBonus4->phone = '' . $phone;