Removed unused code parts.

This commit is contained in:
Michal Čihař
2005-10-08 14:59:56 +00:00
parent 205a4da9f7
commit b64dccc2ae
2 changed files with 2 additions and 3 deletions

View File

@@ -301,7 +301,7 @@ if (top != self) {
echo "\n";
// Displays the MySQL servers choice
foreach ($cfg['Servers'] AS $key => $val) {
if (!empty($val['host']) || $val['auth_type'] == 'arbitrary') {
if (!empty($val['host'])) {
echo ' <option value="' . $key . '"';
if (!empty($server) && ($server == $key)) {
echo ' selected="selected"';
@@ -309,8 +309,6 @@ if (top != self) {
echo '>';
if ($val['verbose'] != '') {
echo $val['verbose'];
} elseif ($val['auth_type'] == 'arbitrary') {
echo $GLOBALS['strArbitrary'];
} else {
echo $val['host'];
if (!empty($val['port'])) {