Database::__construct(): Don't set $mTrxAtomicLevels to an SplStack
authorKevin Israel <pleasestand@live.com>
Sun, 25 Oct 2015 23:02:15 +0000 (19:02 -0400)
committerKevin Israel <pleasestand@live.com>
Sun, 25 Oct 2015 23:02:15 +0000 (19:02 -0400)
Follows-up db0b9ef2649c and 01ef30fcc495.

Change-Id: I06188c746fb885819aa93e0e3caf3dc2bac7ae72

includes/db/Database.php

index 2f135a4..57c28bb 100644 (file)
@@ -607,7 +607,6 @@ abstract class DatabaseBase implements IDatabase {
        function __construct( array $params ) {
                global $wgDBprefix, $wgDBmwschema, $wgCommandLineMode;
 
-               $this->mTrxAtomicLevels = new SplStack;
                $this->srvCache = ObjectCache::newAccelerator( 'hash' );
 
                $server = $params['host'];