diff options
author | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2017-07-07 18:48:43 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2017-07-08 16:54:21 +0300 |
commit | ca910e8de827203542e78a721f02b6376fcf4381 (patch) | |
tree | f4d46bd03d9245e65e82ba5910b695a036af24c5 /db_operations.php | |
parent | 6e71574e9c6d9a68d3ebab98dcca805b63040a0c (diff) |
Move classes to PhpMyAdmin namespace
- Move Table to PhpMyAdmin namespace
- Move Template to PhpMyAdmin namespace
- Move ThemeManager to PhpMyAdmin namespace
- Move Theme to PhpMyAdmin namespace
- Move Tracker to PhpMyAdmin namespace
- Move Transformations to PhpMyAdmin namespace
- Move TypesMySQL to PhpMyAdmin namespace
- Move Types to PhpMyAdmin namespace
- Move Util to PhpMyAdmin namespace
- Move VersionInformation to PhpMyAdmin namespace
- Move Url to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'db_operations.php')
-rw-r--r-- | db_operations.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/db_operations.php b/db_operations.php index 657827ffd8..a65d798aba 100644 --- a/db_operations.php +++ b/db_operations.php @@ -134,7 +134,7 @@ if (strlen($GLOBALS['db']) > 0 // if someday the RENAME DATABASE reappears, do not DROP $local_query = 'DROP DATABASE ' - . PMA\libraries\Util::backquote($GLOBALS['db']) . ';'; + . PhpMyAdmin\Util::backquote($GLOBALS['db']) . ';'; $sql_query .= "\n" . $local_query; $GLOBALS['dbi']->query($local_query); @@ -185,7 +185,7 @@ if (strlen($GLOBALS['db']) > 0 $response->addJSON('newname', $_REQUEST['newname']); $response->addJSON( 'sql_query', - PMA\libraries\Util::getMessage(null, $sql_query) + PhpMyAdmin\Util::getMessage(null, $sql_query) ); $response->addJSON('db', $GLOBALS['db']); exit; @@ -222,12 +222,12 @@ list( $tooltip_truename, $tooltip_aliasname, $pos -) = PMA\libraries\Util::getDbInfo($db, isset($sub_part) ? $sub_part : ''); +) = PhpMyAdmin\Util::getDbInfo($db, isset($sub_part) ? $sub_part : ''); echo "\n"; if (isset($message)) { - echo PMA\libraries\Util::getMessage($message, $sql_query); + echo PhpMyAdmin\Util::getMessage($message, $sql_query); unset($message); } @@ -296,8 +296,8 @@ if ($cfgRelation['pdfwork'] && $num_tables > 0) { // We only show this if we find something in the new pdf_pages table $test_query = ' SELECT * - FROM ' . PMA\libraries\Util::backquote($GLOBALS['cfgRelation']['db']) - . '.' . PMA\libraries\Util::backquote($cfgRelation['pdf_pages']) . ' + FROM ' . PhpMyAdmin\Util::backquote($GLOBALS['cfgRelation']['db']) + . '.' . PhpMyAdmin\Util::backquote($cfgRelation['pdf_pages']) . ' WHERE db_name = \'' . $GLOBALS['dbi']->escapeString($GLOBALS['db']) . '\''; $test_rs = PMA_queryAsControlUser( |