From 9b79a02e8886d04e2606cafb169e44f8d0fed326 Mon Sep 17 00:00:00 2001 From: Jerome Nadaud Date: Mon, 7 Oct 2013 11:03:42 +0200 Subject: [PATCH] // Remove unused function --- controllers/admin/AdminFeaturesController.php | 58 ------------------- 1 file changed, 58 deletions(-) diff --git a/controllers/admin/AdminFeaturesController.php b/controllers/admin/AdminFeaturesController.php index 1bbfdec21..f437c5349 100644 --- a/controllers/admin/AdminFeaturesController.php +++ b/controllers/admin/AdminFeaturesController.php @@ -156,64 +156,6 @@ class AdminFeaturesControllerCore extends AdminController } } - /** - * method call when ajax request is made with the details row action - * @see AdminController::postProcess() - */ - /*public function ajaxProcessDetails() - { - if (($id = Tools::getValue('id'))) - { - $this->setTypeValue(); - $this->lang = true; - - // override attributes - $this->display = 'list'; - - // Action for list - $this->addRowAction('edit'); - $this->addRowAction('delete'); - - if (!Validate::isLoadedObject($obj = new Feature((int)$id))) - $this->errors[] = Tools::displayError('An error occurred while updating the status for an object.').' '.$this->table.' '.Tools::displayError('(cannot load object)'); - - $this->fields_list = array( - 'id_feature_value' => array( - 'title' => $this->l('ID'), - 'width' => 25 - ), - 'value' => array( - 'title' => $this->l('Value') - ) - ); - - $this->_where = sprintf('AND `id_feature` = %d', (int)$id); - - // get list and force no limit clause in the request - $this->getList($this->context->language->id); - - // Render list - $helper = new HelperList(); - $helper->actions = $this->actions; - $helper->no_link = true; - $helper->shopLinkType = ''; - $helper->identifier = $this->identifier; - $helper->toolbar_scroll = false; - $helper->orderBy = 'position'; - $helper->orderWay = 'ASC'; - $helper->currentIndex = self::$currentIndex; - $helper->token = $this->token; - $helper->table = $this->table; - $helper->simple_header = true; - $helper->show_toolbar = false; - $helper->bulk_actions = $this->bulk_actions; - $content = $helper->generateList($this->_list, $this->fields_list); - - echo Tools::jsonEncode(array('use_parent_structure' => false, 'data' => $content)); - exit; - } - }*/ - /** * AdminController::renderForm() override * @see AdminController::renderForm()