From a9464cea8753d6f9d0081d6ec169ec9d678021cb Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 23 May 2006 20:49:30 +0000 Subject: [PATCH] Versioncruft: remove a check for PHP 4.1 workaround, no longer needed --- includes/Database.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/includes/Database.php b/includes/Database.php index 8376f06fd3..2bdf610baa 100644 --- a/includes/Database.php +++ b/includes/Database.php @@ -270,14 +270,7 @@ class Database { @/**/$this->mConn = mysql_pconnect( $server, $user, $password ); } else { # Create a new connection... - if( version_compare( PHP_VERSION, '4.2.0', 'ge' ) ) { - @/**/$this->mConn = mysql_connect( $server, $user, $password, true ); - } else { - # On PHP 4.1 the new_link parameter is not available. We cannot - # guarantee that we'll actually get a new connection, and this - # may cause some operations to fail possibly. - @/**/$this->mConn = mysql_connect( $server, $user, $password ); - } + @/**/$this->mConn = mysql_connect( $server, $user, $password, true ); } if ( $dbName != '' ) { -- 2.20.1