diff options
Diffstat (limited to 'libraries/plugins/schema/Export_Relation_Schema.class.php')
-rw-r--r-- | libraries/plugins/schema/Export_Relation_Schema.class.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libraries/plugins/schema/Export_Relation_Schema.class.php b/libraries/plugins/schema/Export_Relation_Schema.class.php index 0b0808ea9a..d36996646f 100644 --- a/libraries/plugins/schema/Export_Relation_Schema.class.php +++ b/libraries/plugins/schema/Export_Relation_Schema.class.php @@ -202,17 +202,12 @@ class PMA_Export_Relation_Schema * @param string $type Schema Type * @param string $error_message The error mesage * - * @global array the PMA configuration array - * @global string $db the current database name - * * @access public * * @return void */ function dieSchema($pageNumber, $type = '', $error_message = '') { - global $db; - echo "<p><strong>" . __("SCHEMA ERROR: ") . $type . "</strong></p>" . "\n"; if (!empty($error_message)) { $error_message = htmlspecialchars($error_message); @@ -220,7 +215,7 @@ class PMA_Export_Relation_Schema echo '<p>' . "\n"; echo ' ' . $error_message . "\n"; echo '</p>' . "\n"; - echo '<a href="schema_edit.php?' . PMA_URL_getCommon($db) + echo '<a href="schema_edit.php?' . PMA_URL_getCommon($GLOBALS['db']) . '&do=selectpage&chpage=' . htmlspecialchars($pageNumber) . '&action_choose=0' . '">' . __('Back') . '</a>'; |