r108051 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108050‎ | r108051 | r108052 >
Date:16:43, 4 January 2012
Author:mah
Status:ok
Tags:
Comment:
follow up r107932 with w/s fixes
Modified paths:
  • /trunk/phase3/includes/db/Database.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/db/Database.php
@@ -686,8 +686,8 @@
687687 isset( $p['flags'] ) ? $p['flags'] : 0,
688688 isset( $p['tablePrefix'] ) ? $p['tablePrefix'] : 'get from global'
689689 );
690 - } elseif (class_exists($class)) {
691 - return new $class($p);
 690+ } elseif ( class_exists( $class ) ) {
 691+ return new $class( $p );
692692 } else {
693693 return null;
694694 }
@@ -3209,7 +3209,7 @@
32103210
32113211 /**
32123212 * Called by sourceStream() to check if we've reached a statement end
3213 - *
 3213+ *
32143214 * @param $sql String: SQL assembled so far
32153215 * @param $newLine String: New line about to be added to $sql
32163216 * @returns Bool: Whether $newLine contains end of the statement

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r107932Fix Bug 33384 - database drivers cannot be provided by extension...mah19:55, 3 January 2012

Status & tagging log