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? ?>