From: fomichev Date: Wed, 2 Jul 2025 11:32:49 +0000 (+0300) Subject: Изменение логики работы задачи X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=3cb07ab0fa3a7c84b4501c7ec49759273fd954bb;p=erp24_rep%2Fyii-erp24%2F.git Изменение логики работы задачи --- diff --git a/erp24/controllers/CategoryPlanController.php b/erp24/controllers/CategoryPlanController.php index 3fed6dbc..65492e80 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,