From b5d4dea606d04725928931a7cc27f4c700d816e9 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 29 Apr 2012 08:31:19 -0400 Subject: [PATCH] Unneeded code --- libraries/export/odt.php | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/libraries/export/odt.php b/libraries/export/odt.php index 55f9d3ffdd..13ab340b50 100644 --- a/libraries/export/odt.php +++ b/libraries/export/odt.php @@ -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 */