The branch, master has been updated
via 22eaa592cad82c1aef5a2476ebbe55403d627dc6 (commit)
from 272c57cdba6ae6c162ab90634bad9740c2af8b38 (commit)
- Log -----------------------------------------------------------------
commit 22eaa592cad82c1aef5a2476ebbe55403d627dc6
Author: Marc Delisle <marc(a)infomarc.info>
Date: Fri Aug 20 08:43:09 2010 -0400
unused code
-----------------------------------------------------------------------
Summary of changes:
libraries/common.lib.php | 1 -
libraries/sqlparser.lib.php | 15 ---------------
2 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/libraries/common.lib.php b/libraries/common.lib.php
index 4b1d8d9..23b3eee 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 3e74ca7..463b73a 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?
?>
hooks/post-receive
--
phpMyAdmin