public function uninstall() { $id_tab = (int) Tab::getIdFromClassName('AdminBlockCategories'); if ($id_tab) { $tab = new Tab($id_tab); $tab->delete(); } if (!parent::uninstall() || !Configuration::deleteByName('BLOCK_CATEG_MAX_DEPTH') || !Configuration::deleteByName('BLOCK_CATEG_DHTML') || !Configuration::deleteByName('BLOCK_CATEG_ROOT_CATEGORY')) { return false; } return true; }