From 0911c3dd817eade75acb94ed4737d371e9cffd6d Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Wed, 4 Jan 2012 16:43:46 +0000 Subject: [PATCH] follow up r107932 with w/s fixes --- includes/db/Database.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/db/Database.php b/includes/db/Database.php index 57d98adf3d..3da148681a 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -686,8 +686,8 @@ abstract class DatabaseBase implements DatabaseType { isset( $p['flags'] ) ? $p['flags'] : 0, isset( $p['tablePrefix'] ) ? $p['tablePrefix'] : 'get from global' ); - } elseif (class_exists($class)) { - return new $class($p); + } elseif ( class_exists( $class ) ) { + return new $class( $p ); } else { return null; } @@ -3209,7 +3209,7 @@ abstract class DatabaseBase implements DatabaseType { /** * Called by sourceStream() to check if we've reached a statement end - * + * * @param $sql String: SQL assembled so far * @param $newLine String: New line about to be added to $sql * @returns Bool: Whether $newLine contains end of the statement -- 2.20.1