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 /tbl_replace.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 'tbl_replace.php')
-rw-r--r-- | tbl_replace.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tbl_replace.php b/tbl_replace.php index 705b4ccf90..ae70b799ef 100644 --- a/tbl_replace.php +++ b/tbl_replace.php @@ -15,8 +15,8 @@ use PhpMyAdmin\Core; use PMA\libraries\plugins\IOTransformationsPlugin; use PhpMyAdmin\Response; -use PMA\libraries\Table; -use PMA\libraries\Transformations; +use PhpMyAdmin\Table; +use PhpMyAdmin\Transformations; /** * Gets some core libraries @@ -29,7 +29,7 @@ require_once 'libraries/common.inc.php'; require_once 'libraries/insert_edit.lib.php'; // Check parameters -PMA\libraries\Util::checkParameters(array('db', 'table', 'goto')); +PhpMyAdmin\Util::checkParameters(array('db', 'table', 'goto')); $GLOBALS['dbi']->selectDb($GLOBALS['db']); @@ -291,7 +291,7 @@ foreach ($loop_array as $rownumber => $where_clause) { $value_sets[] = implode(', ', $query_values); } else { // build update query - $query[] = 'UPDATE ' . PMA\libraries\Util::backquote($GLOBALS['table']) + $query[] = 'UPDATE ' . PhpMyAdmin\Util::backquote($GLOBALS['table']) . ' SET ' . implode(', ', $query_values) . ' WHERE ' . $where_clause . ($_REQUEST['clause_is_unique'] ? '' : ' LIMIT 1'); @@ -445,7 +445,7 @@ if ($response->isAjax() && ! isset($_POST['ajax_page_request'])) { $extra_data['row_count'] = $_table->countRecords(); $extra_data['sql_query'] - = PMA\libraries\Util::getMessage($message, $GLOBALS['display_query']); + = PhpMyAdmin\Util::getMessage($message, $GLOBALS['display_query']); $response->setRequestStatus($message->isSuccess()); $response->addJSON('message', $message); |