diff --git a/classes/controller/AdminController.php b/classes/controller/AdminController.php index c4db8e946..95badbfbc 100644 --- a/classes/controller/AdminController.php +++ b/classes/controller/AdminController.php @@ -2344,16 +2344,6 @@ public function initModal() //Force override translation key Context::getContext()->override_controller_name_for_translations = 'AdminModules'; - $this->modals[] = array( - 'modal_id' => 'modal_addons_connect', - 'modal_class' => 'modal-md', - 'modal_title' => ' PrestaShop Addons', - 'modal_content' => $this->context->smarty->fetch('controllers/modules/login_addons.tpl'), - ); - //After override translation, remove it Context::getContext()->override_controller_name_for_translations = null; } diff --git a/controllers/admin/AdminModulesController.php b/controllers/admin/AdminModulesController.php index 0eae6b275..8091158dc 100644 --- a/controllers/admin/AdminModulesController.php +++ b/controllers/admin/AdminModulesController.php @@ -1377,14 +1377,6 @@ public function initModal() 'modal_title' => ($this->context->mode == Context::MODE_HOST) ? $this->l('This module cannot be installed') : $this->l('Important Notice'), 'modal_content' => $modal_content ); - - $modal_content = $this->context->smarty->fetch('controllers/modules/modal_not_trusted_country.tpl'); - $this->modals[] = array( - 'modal_id' => 'moduleNotTrustedCountry', - 'modal_class' => 'modal-lg', - 'modal_title' => $this->l('This module is Untrusted for your country'), - 'modal_content' => $modal_content - ); } public function initContent()