Unneeded code
This commit is contained in:
parent
35c725515b
commit
b5d4dea606
@ -231,17 +231,6 @@ if (isset($plugin_list)) {
|
||||
*/
|
||||
function PMA_getTableDefStandIn($db, $view, $crlf)
|
||||
{
|
||||
/**
|
||||
* Get the unique keys in the table
|
||||
*/
|
||||
$unique_keys = array();
|
||||
$keys = PMA_DBI_get_table_indexes($db, $table);
|
||||
foreach ($keys as $key) {
|
||||
if ($key['Non_unique'] == 0) {
|
||||
$unique_keys[] = $key['Column_name'];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets fields properties
|
||||
*/
|
||||
@ -305,17 +294,6 @@ if (isset($plugin_list)) {
|
||||
{
|
||||
global $cfgRelation;
|
||||
|
||||
/**
|
||||
* Get the unique keys in the table
|
||||
*/
|
||||
$unique_keys = array();
|
||||
$keys = PMA_DBI_get_table_indexes($db, $table);
|
||||
foreach ($keys as $key) {
|
||||
if ($key['Non_unique'] == 0) {
|
||||
$unique_keys[] = $key['Column_name'];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets fields properties
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user