From b64dccc2ae68b2f1ed6cec5bf1cde5e9a165a497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Sat, 8 Oct 2005 14:59:56 +0000 Subject: [PATCH] Removed unused code parts. --- ChangeLog | 1 + libraries/auth/cookie.auth.lib.php | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index f182164ad..704f215c1 100755 --- a/ChangeLog +++ b/ChangeLog @@ -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 * libraries/check_user_privileges.lib.php: bug #1313821, dbname containing a diff --git a/libraries/auth/cookie.auth.lib.php b/libraries/auth/cookie.auth.lib.php index dfd63e14c..8929d50c0 100644 --- a/libraries/auth/cookie.auth.lib.php +++ b/libraries/auth/cookie.auth.lib.php @@ -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 '