Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Przybylski <piotrprz@gmail.com>2011-05-04 17:32:45 +0400
committerPiotr Przybylski <piotrprz@gmail.com>2011-05-09 21:46:32 +0400
commit7bf17c184317f13f66c244700c4c6af8776b552f (patch)
treeb8086d9076deab66e894be37939a31b85fdf8e74 /main.php
parent80485250f07a13224a59e7222afccee53d8cac7f (diff)
Fix for Drizzle collations
Diffstat (limited to 'main.php')
-rw-r--r--main.php10
1 files changed, 3 insertions, 7 deletions
diff --git a/main.php b/main.php
index d69b4bbd72..dfb22c2315 100644
--- a/main.php
+++ b/main.php
@@ -95,9 +95,9 @@ if ($server > 0
'./user_password.php?' . $common_url_query, null, null, 'change_password_anchor', null, $conditional_class);
}
} // end if
-
- echo ' <li id="li_select_mysql_collation">';
- echo ' <form method="post" action="index.php" target="_parent">' . "\n"
+ } // not Drizzle
+ echo ' <li id="li_select_mysql_collation">';
+ echo ' <form method="post" action="index.php" target="_parent">' . "\n"
. PMA_generate_common_hidden_inputs(null, null, 4, 'collation_connection')
. ' <label for="select_collation_connection">' . "\n"
. ' ' . __('MySQL connection collation') . "\n"
@@ -109,7 +109,6 @@ if ($server > 0
. ' <noscript><input type="submit" value="' . __('Go') . '" /></noscript>' . "\n"
. ' </form>' . "\n"
. ' </li>' . "\n";
- } // not Drizzle
} // end of if ($server > 0)
echo '</ul>';
echo '</div>';
@@ -287,9 +286,6 @@ if (file_exists('./config')) {
trigger_error(__('Directory [code]config[/code], which is used by the setup script, still exists in your phpMyAdmin directory. You should remove it once phpMyAdmin has been configured.'), E_USER_WARNING);
}
-/**
- * Check whether relations are supported.
- */
if ($server > 0) {
$cfgRelation = PMA_getRelationsParam();
if(! $cfgRelation['allworks'] && $cfg['PmaNoRelation_DisableWarning'] == false) {