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:
authorMaurício Meneghini Fauth <mauriciofauth@gmail.com>2017-09-07 04:49:52 +0300
committerMaurício Meneghini Fauth <mauriciofauth@gmail.com>2017-09-07 15:37:02 +0300
commit512d81cb295f8a97d40ff035658fc2b620b3b439 (patch)
tree44810098abe215a7af33f4cf90ce74fccafc7837 /db_tracking.php
parent57f400642337eb96d0ee7d83f8866a4e5b803162 (diff)
Refactor display_create_table to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'db_tracking.php')
-rw-r--r--db_tracking.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/db_tracking.php b/db_tracking.php
index 32cbbe7ad7..2b059343c3 100644
--- a/db_tracking.php
+++ b/db_tracking.php
@@ -5,6 +5,7 @@
*
* @package PhpMyAdmin
*/
+use PhpMyAdmin\Display\CreateTable;
use PhpMyAdmin\Message;
use PhpMyAdmin\Relation;
use PhpMyAdmin\Response;
@@ -16,7 +17,6 @@ use PhpMyAdmin\Util;
* Run common work
*/
require_once 'libraries/common.inc.php';
-require_once 'libraries/display_create_table.lib.php';
//Get some js files needed for Ajax requests
$response = Response::getInstance();
@@ -105,7 +105,7 @@ if ($num_tables == 0 && count($data['ddlog']) == 0) {
echo '<p>' , __('No tables found in database.') , '</p>' , "\n";
if (empty($db_is_system_schema)) {
- echo PMA_getHtmlForCreateTable($db);
+ echo CreateTable::getHtml($db);
}
exit;
}