diff options
author | Michal Čihař <mcihar@suse.cz> | 2012-06-04 15:31:08 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@suse.cz> | 2012-06-04 15:31:08 +0400 |
commit | 1a171a9e2faef1b36b3c99a7b46a72369bd69907 (patch) | |
tree | 1f6e0eddc09d06a7d0bd0d58fd9a286a231b3fcb /libraries | |
parent | a9d7091b841caa82c21c943d86f7b534ab237b70 (diff) |
Fix function name
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/relation.lib.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libraries/relation.lib.php b/libraries/relation.lib.php index cea37902a4..a02e4a3b4c 100644 --- a/libraries/relation.lib.php +++ b/libraries/relation.lib.php @@ -1267,7 +1267,7 @@ function PMA_REL_renameField($db, $table, $field, $new_name) * * @return nothing. */ -function PMA_REL_renameTable($table, +function PMA_REL_renameSingleTable($table, $source_db, $target_db, $source_table, $target_table, $db_field, $table_field @@ -1301,7 +1301,7 @@ function PMA_REL_renameTable($source_db, $target_db, $source_table, $target_tabl { // Move old entries from PMA-DBs to new table if ($GLOBALS['cfgRelation']['commwork']) { - PMA_REL_renameTable( + PMA_REL_renameSingleTable( 'column_info', $source_db, $target_db, $source_table, $target_table, @@ -1313,7 +1313,7 @@ function PMA_REL_renameTable($source_db, $target_db, $source_table, $target_tabl // moved, and not the whole DB. if ($GLOBALS['cfgRelation']['displaywork']) { - PMA_REL_renameTable( + PMA_REL_renameSingleTable( 'table_info', $source_db, $target_db, $source_table, $target_table, @@ -1322,14 +1322,14 @@ function PMA_REL_renameTable($source_db, $target_db, $source_table, $target_tabl } if ($GLOBALS['cfgRelation']['relwork']) { - PMA_REL_renameTable( + PMA_REL_renameSingleTable( 'relation', $source_db, $target_db, $source_table, $target_table, 'foreign_db', 'foreign_table' ); - PMA_REL_renameTable( + PMA_REL_renameSingleTable( 'relation', $source_db, $target_db, $source_table, $target_table, @@ -1345,7 +1345,7 @@ function PMA_REL_renameTable($source_db, $target_db, $source_table, $target_tabl */ if ($GLOBALS['cfgRelation']['pdfwork']) { - PMA_REL_renameTable( + PMA_REL_renameSingleTable( 'table_coords', $source_db, $target_db, $source_table, $target_table, @@ -1354,7 +1354,7 @@ function PMA_REL_renameTable($source_db, $target_db, $source_table, $target_tabl } if ($GLOBALS['cfgRelation']['designerwork']) { - PMA_REL_renameTable( + PMA_REL_renameSingleTable( 'designer_coords', $source_db, $target_db, $source_table, $target_table, |