diff options
author | Michal Čihař <mcihar@novell.com> | 2010-07-20 14:05:07 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@novell.com> | 2010-07-20 14:05:07 +0400 |
commit | 11e53fb1418f57529ef2fdd88bff7f7b41600ffe (patch) | |
tree | f6080b443a9a810a26407955aa588bdd2941339e /import.php | |
parent | a4055b4773909e84cb727d269de0ebb6ac05c1c9 (diff) |
[core] Dropped AllowAnywhereRecoding configuration variable.
It really does not make sense these days, now the recoding of
export/import is available when the necessary extensions are loaded and
it is possible to disable it using RecodingEngine directive.
Diffstat (limited to 'import.php')
-rw-r--r-- | import.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/import.php b/import.php index 4d45a59d8d..85616a9aae 100644 --- a/import.php +++ b/import.php @@ -343,7 +343,7 @@ if ($import_file != 'none' && !$error) { //$_SESSION['Import_message'] = $message->getDisplay(); // Convert the file's charset if necessary -if ($cfg['AllowAnywhereRecoding'] && isset($charset_of_file)) { +if ($GLOBALS['PMA_recoding_engine'] != PMA_CHARSET_NONE && isset($charset_of_file)) { if ($charset_of_file != $charset) { $charset_conversion = TRUE; } @@ -451,7 +451,7 @@ if (isset($my_die)) { if (! empty($last_query_with_results)) { // but we want to show intermediate results too $disp_query = $sql_query; - $disp_message = __('Your SQL query has been executed successfully'); + $disp_message = __('Your SQL query has been executed successfully'); $sql_query = $last_query_with_results; $go_sql = true; } |