Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Mar 22, 2024
1 parent ead029a commit 9db1a9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/console/controllers/SkeeksSuppliersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
use skeeks\cms\shop\models\ShopProduct;
use skeeks\cms\shop\models\ShopStore;
use skeeks\cms\shop\models\ShopStoreProduct;
use skeeks\cms\Skeeks;
use yii\base\Exception;
use yii\console\Controller;
use yii\helpers\ArrayHelper;
Expand Down Expand Up @@ -115,6 +116,8 @@ private function _checkBeforeStart()
if ($this->_isChecked) {
return true;
}

Skeeks::unlimited();

if (!isset(\Yii::$app->skeeksSuppliersApi)) {
throw new Exception("Компонент skeeksSuppliersApi не подключен");
Expand Down

0 comments on commit 9db1a9a

Please sign in to comment.