diff options
author | Dieter Adriaenssens <ruleant@users.sourceforge.net> | 2011-09-05 16:28:17 +0400 |
---|---|---|
committer | Dieter Adriaenssens <ruleant@users.sourceforge.net> | 2011-09-05 16:28:17 +0400 |
commit | 94c6836f8b16129a64383ac03beb4a9639ba9559 (patch) | |
tree | e05636d430dc9c001bbdf61bd80f2c8f9cc623cd /db_operations.php | |
parent | e2864a383efd0b2c18c7c0967e315f07ccf5cf96 (diff) |
fix coding style : control structures
Diffstat (limited to 'db_operations.php')
-rw-r--r-- | db_operations.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/db_operations.php b/db_operations.php index 0bd9eef585..c9430d1352 100644 --- a/db_operations.php +++ b/db_operations.php @@ -161,9 +161,10 @@ if (strlen($db) && (! empty($db_rename) || ! empty($db_copy))) { // for importing via the mysql client or our Import feature) $triggers = PMA_DBI_get_triggers($db, $each_table, ''); - if (! PMA_Table::moveCopy($db, $each_table, $newname, $each_table, - isset($this_what) ? $this_what : 'data', $move, 'db_copy')) - { + if (! PMA_Table::moveCopy( + $db, $each_table, $newname, $each_table, + isset($this_what) ? $this_what : 'data', $move, 'db_copy') + ) { $_error = true; // $sql_query is filled by PMA_Table::moveCopy() $sql_query = $back . $sql_query; @@ -273,7 +274,7 @@ if (strlen($db) && (! empty($db_rename) || ! empty($db_copy))) { $message = PMA_Message::success(__('Database %s has been renamed to %s')); $message->addParam($db); $message->addParam($newname); - } elseif (! $_error) { + } elseif (! $_error) { $message = PMA_Message::success(__('Database %s has been copied to %s')); $message->addParam($db); $message->addParam($newname); |