From: Brion Vibber Date: Mon, 2 Oct 2006 17:07:15 +0000 (+0000) Subject: whitespace X-Git-Tag: 1.31.0-rc.0~55665 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/?a=commitdiff_plain;h=da8a4436f308ed90a5caa363dbe96559884b66cf;p=lhc%2Fweb%2Fwiklou.git whitespace --- diff --git a/includes/Database.php b/includes/Database.php index f620b28ea3..3378ccce9c 100644 --- a/includes/Database.php +++ b/includes/Database.php @@ -490,7 +490,7 @@ class Database { $success = false; - wfProfileIn("dbconnect-$server"); + wfProfileIn("dbconnect-$server"); # LIVE PATCH by Tim, ask Domas for why: retry loop $this->mConn = false; @@ -504,12 +504,12 @@ class Database { # Create a new connection... @/**/$this->mConn = mysql_connect( $server, $user, $password, true ); } - if ($this->mConn === false) { - wfLogDBError("Connect loop error ($server): " . mysql_errno() . " - " . mysql_error()."\n"); - } + if ($this->mConn === false) { + wfLogDBError("Connect loop error ($server): " . mysql_errno() . " - " . mysql_error()."\n"); + } } - wfProfileOut("dbconnect-$server"); + wfProfileOut("dbconnect-$server"); if ( $dbName != '' ) { if ( $this->mConn !== false ) { @@ -517,7 +517,7 @@ class Database { if ( !$success ) { $error = "Error selecting database $dbName on server {$this->mServer} " . "from client host {$wguname['nodename']}\n"; - wfLogDBError(" Error selecting database $dbname on server {$this->mServer} \n"); + wfLogDBError(" Error selecting database $dbname on server {$this->mServer} \n"); wfDebug( $error ); } } else {