From 697134c35f972510f7d710187cb1a3f5aabbf496 Mon Sep 17 00:00:00 2001 From: fomichev Date: Wed, 2 Jul 2025 13:29:27 +0300 Subject: [PATCH] =?utf8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8?= =?utf8?q?=D0=B5=20=D0=BB=D0=BE=D0=B3=D0=B8=D0=BA=D0=B8=20=D1=80=D0=B0?= =?utf8?q?=D0=B1=D0=BE=D1=82=D1=8B=20=D0=B7=D0=B0=D0=B4=D0=B0=D1=87=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/commands/CronController.php | 2 +- erp24/controllers/CategoryPlanController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/erp24/commands/CronController.php b/erp24/commands/CronController.php index 91a31866..3b782e65 100644 --- a/erp24/commands/CronController.php +++ b/erp24/commands/CronController.php @@ -1803,7 +1803,7 @@ class CronController extends Controller Yii::error(json_encode($log->getErrors(), JSON_UNESCAPED_UNICODE)); LogService::apiErrorLog(json_encode(["error_id" => 8, "error" => $log->getErrors()], JSON_UNESCAPED_UNICODE)); } - + $cache->delete($cacheKey); $service = new AutoPlannogrammaService(); $year = (int)$task['year']; $month = (int)$task['month']; diff --git a/erp24/controllers/CategoryPlanController.php b/erp24/controllers/CategoryPlanController.php index 65492e80..e4b8d846 100644 --- a/erp24/controllers/CategoryPlanController.php +++ b/erp24/controllers/CategoryPlanController.php @@ -645,7 +645,7 @@ class CategoryPlanController extends Controller { return $this->asJson(['status' => 'not_found']); } } - Yii::$app->cache->delete('apRecalculateTask'); + // Yii::$app->cache->delete('apRecalculateTask'); return $this->asJson([ 'status' => $task['status'], 'progress' => $task['progress'] ?? 0, -- 2.39.5