diff options
author | Marc Delisle <marc@infomarc.info> | 2015-08-25 18:16:59 +0300 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2015-08-25 18:16:59 +0300 |
commit | bb01f9b2b7eaf25f609896565aedc6f04795301b (patch) | |
tree | 520da3caf993230c40dff128fe1199da995c9476 /db_tracking.php | |
parent | 6ff67388d2191200ba5c6549b3a689e235baccde (diff) |
Refactor db_info.inc.php
Signed-off-by: Marc Delisle <marc@infomarc.info>
Diffstat (limited to 'db_tracking.php')
-rw-r--r-- | db_tracking.php | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/db_tracking.php b/db_tracking.php index 42db66199f..e451ccd574 100644 --- a/db_tracking.php +++ b/db_tracking.php @@ -29,7 +29,18 @@ $url_query .= '&goto=tbl_tracking.php&back=db_tracking.php'; // Get the database structure $sub_part = '_structure'; -require 'libraries/db_info.inc.php'; + +list( + $tables, + $num_tables, + $total_num_tables, + $sub_part, + $is_show_stats, + $db_is_system_schema, + $tooltip_truename, + $tooltip_aliasname, + $pos +) = PMA_Util::getDbInfo($db, isset($sub_part) ? $sub_part : ''); // Work to do? // (here, do not use $_REQUEST['db] as it can be crafted) |