r85272 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85271‎ | r85272 | r85273 >
Date:19:49, 3 April 2011
Author:ialex
Status:ok
Tags:
Comment:
Removed useless definition of $wgOut
Modified paths:
  • /trunk/phase3/includes/db/Database.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/db/Database.php
@@ -495,12 +495,8 @@
496496 function __construct( $server = false, $user = false, $password = false, $dbName = false,
497497 $flags = 0, $tablePrefix = 'get from global'
498498 ) {
499 - global $wgOut, $wgDBprefix, $wgCommandLineMode;
 499+ global $wgDBprefix, $wgCommandLineMode;
500500
501 - # Can't get a reference if it hasn't been set yet
502 - if ( !isset( $wgOut ) ) {
503 - $wgOut = null;
504 - }
505501 $this->mFlags = $flags;
506502
507503 if ( $this->mFlags & DBO_DEFAULT ) {

Status & tagging log