diff --git a/ChangeLog b/ChangeLog index 5a84d9e1e..9d8ed5bcd 100755 --- a/ChangeLog +++ b/ChangeLog @@ -25,6 +25,7 @@ $Source$ (RFE #1012971), show just Access denied in case we denied it. * db_operations.php, db_details_links.php, db_details_structure.php: Separate operations from structure (RFE #808029). + * tbl_move_copy.php: Remove unused PMA_myHandler(). 2004-10-19 Marc Delisle * libraries/database_interface.lib.php: bug #1041667, correctly diff --git a/tbl_move_copy.php b/tbl_move_copy.php index 21b655930..93342b47a 100644 --- a/tbl_move_copy.php +++ b/tbl_move_copy.php @@ -9,27 +9,6 @@ require_once('./libraries/common.lib.php'); PMA_checkParameters(array('db', 'table')); -/** - * Insert data from one table to another one - * - * @param string the original insert statement - * - * @global string the database name - * @global string the original table name - * @global string the target database and table names - * @global string the sql query used to copy the data - */ -function PMA_myHandler($sql_insert = '') -{ - global $db, $table, $target; - global $sql_insert_data; - - $sql_insert = preg_replace('~INSERT INTO (`?)' . $table . '(`?)~i', 'INSERT INTO ' . $target, $sql_insert); - $result = PMA_DBI_query($sql_insert); - - $sql_insert_data .= $sql_insert . ';' . "\n"; -} // end of the 'PMA_myHandler()' function - /** * Inserts existing entries in a PMA_* table by reading a value from an old entry *