From 84341c75054923757b0166915d396e45d9eab347 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Thu, 13 Sep 2012 18:44:53 +0000 Subject: [PATCH] //fixed bug git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17362 b9a71923-0436-4b27-9f14-aed3839534dd --- install-dev/upgrade/php/clean_tabs_15.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/install-dev/upgrade/php/clean_tabs_15.php b/install-dev/upgrade/php/clean_tabs_15.php index cb10cf4e3..ad8951933 100644 --- a/install-dev/upgrade/php/clean_tabs_15.php +++ b/install-dev/upgrade/php/clean_tabs_15.php @@ -317,14 +317,6 @@ $clean_tabs_15 = array( //==== functions =====/ -function get_tab_id($class_name) -{ - static $cache = array(); - - if (!isset($cache[$class_name])) - $cache[$class_name] = (int)Db::getInstance()->getValue('SELECT id_tab FROM '._DB_PREFIX_.'tab WHERE `class_name` = \''.pSQL($class_name).'\''); - return $cache[$class_name]; -} function get_simple_clean_tab15($clean_tabs_15) {