merge
This commit is contained in:
@ -475,11 +475,9 @@ class ModuleService
|
||||
{
|
||||
if ($this->isServerAvailable()){
|
||||
$modules_info = RESTClient::request($_ENV['MODULE_SHOP_URL'] . '/api/module_shop/gb_slug');
|
||||
|
||||
if (!$this->issetModuleShopToken()){
|
||||
return false;
|
||||
}
|
||||
|
||||
$modules_info = json_decode($modules_info->getBody()->getContents(), true);
|
||||
$mod_info = $this->getModuleInfoBySlug($slug);
|
||||
foreach ($modules_info as $mod) {
|
||||
@ -528,5 +526,4 @@ class ModuleService
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
@ -79,7 +79,5 @@ if ($moduleService->isActive('module_shop_client')) {
|
||||
ModuleTabsWidget::create()->run();
|
||||
}
|
||||
|
||||
|
||||
|
||||
$table->create();
|
||||
$table->render();
|
||||
|
Reference in New Issue
Block a user