added option to close recomendation

This commit is contained in:
Shreesh Arora
2023-02-14 13:10:42 +05:30
parent c0ee4685ec
commit 13355f19d8
5 changed files with 53 additions and 24 deletions

View File

@@ -290,16 +290,6 @@ class AdminModulesCatalogControllerCore extends AdminController
}
public function ajaxProcessGetRecommendationContent()
{
$response = array('success' => false);
if ($content = $this->getRecommendationContent()) {
$response['success'] = true;
$response['content'] = $content;
}
$this->ajaxDie(json_encode($response));
}
public function ajaxProcessSetSorting()
{
$this->setSorting(Tools::getValue('module_sorting'), Tools::getValue('theme_sorting'));