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

@@ -35,6 +35,7 @@ $Source$
* import.php, lang/*: Try to detect that upload failed because of limits
(RFE #1240480).
* libraries/storage_engines.lib.php: Use defined messages.
* libraries/auth/cookie.auth.lib.php: Removed unused code parts.
2005-10-07 Marc Delisle <lem9@users.sourceforge.net>
* libraries/check_user_privileges.lib.php: bug #1313821, dbname containing a

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'])) {