Skip to content

Commit

Permalink
Updated the description of the "create_addfield.lib.php" file
Browse files Browse the repository at this point in the history
  • Loading branch information
hisamith committed May 12, 2013
1 parent c2ba8f7 commit 73f674d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion libraries/create_addfield.lib.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* set of functions with the create/addfield features in pma
* set of functions that needed for tbl_create.php and tbl_addfield.php in pma
*
* @package PhpMyAdmin
*/
Expand Down Expand Up @@ -207,6 +207,7 @@ function PMA_getFieldCreationStatements($is_create_tbl = true)
if (count($definitions)) {
$sql_statement = implode(', ', $definitions);
}
$sql_statement = preg_replace('@, $@', '', $sql_statement);

return $sql_statement;

Expand Down
1 change: 0 additions & 1 deletion tbl_create.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
require_once 'libraries/create_addfield.lib.php';
// get field addition statements
$sql_statement = PMA_getFieldCreationStatements(true);
$sql_statement = preg_replace('@, $@', '', $sql_statement);

// Builds the 'create table' statement
$sql_query = 'CREATE TABLE ' . PMA_Util::backquote($db) . '.'
Expand Down

0 comments on commit 73f674d

Please sign in to comment.