From da8a4436f308ed90a5caa363dbe96559884b66cf Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 2 Oct 2006 17:07:15 +0000 Subject: [PATCH] whitespace --- includes/Database.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 { -- 2.20.1