Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Peccatte <hugues.peccatte@gmail.com>2015-10-19 21:33:21 +0300
committerHugues Peccatte <hugues.peccatte@gmail.com>2015-10-19 21:33:21 +0300
commitffc4422db7401e28ec9a41d6a79be8e549457075 (patch)
tree02d66ce6fd4e8be55ad1b69a6287fb9e0da8738d /tbl_addfield.php
parent1861e9b7756d59c631665c170173ff92825f720b (diff)
Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Diffstat (limited to 'tbl_addfield.php')
-rw-r--r--tbl_addfield.php12
1 files changed, 9 insertions, 3 deletions
diff --git a/tbl_addfield.php b/tbl_addfield.php
index 3d666a2be8..54e0d6d921 100644
--- a/tbl_addfield.php
+++ b/tbl_addfield.php
@@ -5,7 +5,6 @@
*
* @package PhpMyAdmin
*/
-use PMA\libraries\PMA_String;
/**
* Get some core libraries
@@ -94,11 +93,18 @@ if (isset($_REQUEST['do_save_data'])) {
);
$message->addParam($table);
$response->addJSON(
- 'message', PMA\libraries\Util::getMessage($message, $sql_query, 'success')
+ 'message',
+ PMA\libraries\Util::getMessage($message, $sql_query, 'success')
);
exit;
} else {
- $error_message_html = PMA\libraries\Util::mysqlDie('', '', false, $err_url, false);
+ $error_message_html = PMA\libraries\Util::mysqlDie(
+ '',
+ '',
+ false,
+ $err_url,
+ false
+ );
$response->addHTML($error_message_html);
$response->setRequestStatus(false);
exit;