Remove explicit inclusion of Table.class.php as it is included in common.inc anyway.

This commit is contained in:
Michal Čihař
2010-07-26 16:35:52 +02:00
parent 81a4fdf0c9
commit 3910ce6121
18 changed files with 1 additions and 37 deletions

View File

@@ -16,7 +16,6 @@
* requirements
*/
require_once './libraries/common.inc.php';
require_once './libraries/Table.class.php';
require_once './libraries/mysql_charsets.lib.php';
/**

View File

@@ -10,8 +10,6 @@
* requirements
*/
require_once './libraries/common.inc.php';
require_once './libraries/Table.class.php';
/**
* Gets the relation settings

View File

@@ -9,7 +9,6 @@
*
*/
require_once './libraries/common.inc.php';
require_once './libraries/Table.class.php';
$GLOBALS['js_include'][] = 'jquery/jquery-ui-1.8.custom.js';
@@ -157,7 +156,7 @@ foreach ($tables as $keyname => $each_table) {
$tableReductionCount++;
continue;
}
// Get valid statistics whatever is the table type
$table_is_view = false;

View File

@@ -8,7 +8,6 @@
* Run common work
*/
require_once './libraries/common.inc.php';
require_once './libraries/Table.class.php';
require './libraries/db_common.inc.php';
$url_query .= '&goto=tbl_tracking.php&back=db_tracking.php';

View File

@@ -237,8 +237,6 @@ function PMA_usort_comparison_callback($a, $b)
function PMA_DBI_get_tables_full($database, $table = false, $tbl_is_group = false, $link = null,
$limit_offset = 0, $limit_count = false, $sort_by = 'Name', $sort_order = 'ASC')
{
require_once './libraries/Table.class.php';
if (true === $limit_count) {
$limit_count = $GLOBALS['cfg']['MaxTableList'];
}

View File

@@ -10,11 +10,6 @@ if (! defined('PHPMYADMIN')) {
exit;
}
/**
*
*/
require_once './libraries/Table.class.php';
if (empty($is_db)) {
if (strlen($db)) {
$is_db = @PMA_DBI_select_db($db);

View File

@@ -8,11 +8,6 @@ if (! defined('PHPMYADMIN')) {
exit;
}
/**
*
*/
require_once './libraries/Table.class.php';
// Get relations & co. status
$cfgRelation = PMA_getRelationsParam();

View File

@@ -9,7 +9,6 @@
/**
*
*/
require_once './libraries/Table.class.php';
require_once './libraries/Index.class.php';
/**

View File

@@ -9,11 +9,6 @@ if (! defined('PHPMYADMIN')) {
exit;
}
/**
*
*/
require_once './libraries/Table.class.php';
/**
* Executes a query as controluser if possible, otherwise as normal user
*

View File

@@ -12,11 +12,6 @@ if (! defined('PHPMYADMIN')) {
exit;
}
/**
*
*/
require_once './libraries/Table.class.php';
/**
* requirements
*/

View File

@@ -10,7 +10,6 @@
* Gets some core libraries
*/
require_once './libraries/common.inc.php';
require_once './libraries/Table.class.php';
require_once './libraries/check_user_privileges.lib.php';
require_once './libraries/bookmark.lib.php';

View File

@@ -9,7 +9,6 @@
* Get some core libraries
*/
require_once './libraries/common.inc.php';
require_once './libraries/Table.class.php';
require_once './libraries/header.inc.php';

View File

@@ -13,7 +13,6 @@
* Gets some core libraries
*/
require_once './libraries/common.inc.php';
require_once './libraries/Table.class.php';
require_once './libraries/header.inc.php';

View File

@@ -34,7 +34,6 @@
* Get some core libraries
*/
require_once './libraries/common.inc.php';
require_once './libraries/Table.class.php';
$action = 'tbl_create.php';

View File

@@ -9,7 +9,6 @@
* Gets some core libraries
*/
require_once './libraries/common.inc.php';
require_once './libraries/Table.class.php';
// Check parameters

View File

@@ -9,7 +9,6 @@
*
*/
require_once './libraries/common.inc.php';
require_once './libraries/Table.class.php';
$pma_table = new PMA_Table($GLOBALS['table'], $GLOBALS['db']);

View File

@@ -7,7 +7,6 @@
// Run common work
require_once './libraries/common.inc.php';
require_once './libraries/Table.class.php';
define('TABLE_MAY_BE_ABSENT', true);
require './libraries/tbl_common.php';

View File

@@ -9,7 +9,6 @@
*
*/
require_once './libraries/common.inc.php';
require_once './libraries/Table.class.php';
$pma_table = new PMA_Table($GLOBALS['table'], $GLOBALS['db']);