diff options
author | Hugues Peccatte <hugues.peccatte@gmail.com> | 2015-08-25 19:10:07 +0300 |
---|---|---|
committer | Hugues Peccatte <hugues.peccatte@gmail.com> | 2015-09-01 22:22:52 +0300 |
commit | f0ba28fc1df881fa17e8f1670ca8261c5d416bd3 (patch) | |
tree | a3bf6dc1a29362b09460817448b2cd4d2b4e3a1b /db_export.php | |
parent | a4456bde74a5770dfff1354a07bb24badce5c04f (diff) |
Set namespace on Advisor, Config, Console and Util classes.
Set namespace on DbQbe.
Set namespace to 'DbSearch'.
Split Advisor.class.php file.
Change Advisor namespace.
Rename DbQbe class and file.
Set namespace on DisplayResults.
Set namespace on Error.
Use namespace for ErrorHandler.
Add class autoloader.
Change ErrorHandler filename.
Remove some require.
Update Config namespace path.
Update PMA_Util to PMA\libraries\Util.
Rename Font and File classes files.
Use namespace for Footer.
Set namespace in all libraries classes.
Namespace OutputBuffering.
Export SubPartition.
Rename Partition file.
Namespace PDF.
Namespace RecentFavoriteTable.
Replace PMA_Response by Response and PMA_Message by Message.
Update uses and calls.
Fix unit tests.
Fix SqlParser autoload.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Diffstat (limited to 'db_export.php')
-rw-r--r-- | db_export.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/db_export.php b/db_export.php index 6cf1be8b5e..fa9e4227d4 100644 --- a/db_export.php +++ b/db_export.php @@ -15,12 +15,12 @@ require_once 'libraries/export.lib.php'; PMA_PageSettings::showGroup('Export'); -$response = PMA_Response::getInstance(); +$response = PMA\libraries\Response::getInstance(); $header = $response->getHeader(); $scripts = $header->getScripts(); $scripts->addFile('export.js'); -// $sub_part is used in PMA_Util::getDbInfo() to see if we are coming from +// $sub_part is used in PMA\libraries\Util::getDbInfo() to see if we are coming from // db_export.php, in which case we don't obey $cfg['MaxTableList'] $sub_part = '_export'; require_once 'libraries/db_common.inc.php'; @@ -36,7 +36,7 @@ list( $tooltip_truename, $tooltip_aliasname, $pos -) = PMA_Util::getDbInfo($db, isset($sub_part) ? $sub_part : ''); +) = PMA\libraries\Util::getDbInfo($db, isset($sub_part) ? $sub_part : ''); /** * Displays the form @@ -45,7 +45,7 @@ $export_page_title = __('View dump (schema) of database'); // exit if no tables in db found if ($num_tables < 1) { - PMA_Message::error(__('No tables found in database.'))->display(); + PMA\libraries\Message::error(__('No tables found in database.'))->display(); exit; } // end if |