From 22eaa592cad82c1aef5a2476ebbe55403d627dc6 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 20 Aug 2010 08:43:09 -0400 Subject: [PATCH] unused code --- libraries/common.lib.php | 1 - libraries/sqlparser.lib.php | 15 --------------- 2 files changed, 16 deletions(-) diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 4b1d8d925..23b3eee31 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -327,7 +327,6 @@ function PMA_formatSql($parsed_sql, $unparsed_sql = '') $formatted_sql = PMA_SQP_formatHtml($parsed_sql, 'color'); break; case 'text': - //$formatted_sql = PMA_SQP_formatText($parsed_sql); $formatted_sql = PMA_SQP_formatHtml($parsed_sql, 'text'); break; default: diff --git a/libraries/sqlparser.lib.php b/libraries/sqlparser.lib.php index 3e74ca737..463b73a09 100644 --- a/libraries/sqlparser.lib.php +++ b/libraries/sqlparser.lib.php @@ -2662,21 +2662,6 @@ if (! defined('PMA_MINIMUM_COMMON')) { return $formatted_sql; } // end of the "PMA_SQP_formatNone()" function - - /** - * Gets SQL queries in text format - * - * @todo WRITE THIS! - * @param array The SQL queries list - * - * @return string The SQL queries in text format - * - * @access public - */ - function PMA_SQP_formatText($arr) - { - return PMA_SQP_formatNone($arr); - } // end of the "PMA_SQP_formatText()" function } // end if: minimal common.lib needed? ?>