From ef6094efbee0949c8c04c408c1a26d905d189d2a Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Thu, 13 Sep 2012 18:44:53 +0000 Subject: [PATCH] //fixed bug --- 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) {