diff options
author | Michal Čihař <mcihar@suse.cz> | 2012-06-04 13:52:14 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@suse.cz> | 2012-06-04 13:52:14 +0400 |
commit | ccb9228bce8003afa99db2e245275591c39b9963 (patch) | |
tree | 462d16f955c54de34e6a495116ea49163c251a34 /libraries | |
parent | 4059ac7298475b5e89c8d3fa1e420268b27d227e (diff) |
Remove unused parameter
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/Table.class.php | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/libraries/Table.class.php b/libraries/Table.class.php index d3dbb510ea..6846decd6c 100644 --- a/libraries/Table.class.php +++ b/libraries/Table.class.php @@ -780,10 +780,7 @@ class PMA_Table /* Try moving table directly */ if ($move && $what == 'data') { $tbl = new PMA_Table($source_table, $source_db); - $result = $tbl->rename( - $target_table, $target_db, - PMA_Table::isView($source_db, $source_table) - ); + $result = $tbl->rename($target_table, $target_db); if ($result) { $GLOBALS['message'] = $tbl->getLastMessage(); return true; @@ -1296,13 +1293,10 @@ class PMA_Table * * @param string $new_name new table name * @param string $new_db new database name - * @param bool $is_view is this for a VIEW rename? - * - * @todo remove the $is_view parameter (also in callers) * * @return bool success */ - function rename($new_name, $new_db = null, $is_view = false) + function rename($new_name, $new_db = null) { if (null !== $new_db && $new_db !== $this->getDbName()) { // Ensure the target is valid |