Removing previous schema generation code which was duplicating

This commit is contained in:
Adnan
2010-08-17 15:23:06 +05:00
parent 2a5a6e39b1
commit 03d37b45f1
4 changed files with 4 additions and 2045 deletions

View File

@@ -520,17 +520,10 @@ if ($cfgRelation['pdfwork'] && $num_tables > 0) { ?>
WHERE db_name = \'' . PMA_sqlAddslashes($db) . '\'';
$test_rs = PMA_query_as_controluser($test_query, null, PMA_DBI_QUERY_STORE);
if ($test_rs && PMA_DBI_num_rows($test_rs) > 0) {
include('./libraries/display_pdf_schema.lib.php');
} // end if
echo '<fieldset><a href="pdf_pages.php?' . $url_query . '">';
if ($cfg['PropertiesIconic']) {
echo '<img class="icon" src="' . $pmaThemeImage . 'b_edit.png"'
.' alt="" width="16" height="16" />';
}
echo __('Edit PDF Pages') . '</a></fieldset>';
// Export Relational Schema View
echo '<fieldset><a href="export_relation_schema.php?' . $url_query . '">';
/*
* Export Relational Schema View
*/
echo '<fieldset><a href="export_relation_schema.php?' . $url_query . '">';
if ($cfg['PropertiesIconic']) {
echo '<img class="icon" src="' . $pmaThemeImage . 'b_edit.png"'
.' alt="" width="16" height="16" />';