Fixes ForeignDBRepo SQL server connection. Fixes bug #28836.
authorMerlijn S. van Deen <valhallasw@users.mediawiki.org>
Thu, 5 May 2011 15:04:19 +0000 (15:04 +0000)
committerMerlijn S. van Deen <valhallasw@users.mediawiki.org>
Thu, 5 May 2011 15:04:19 +0000 (15:04 +0000)
includes/filerepo/ForeignDBRepo.php

index 590350b..a756703 100644 (file)
@@ -37,7 +37,7 @@ class ForeignDBRepo extends LocalRepo {
                if ( !isset( $this->dbConn ) ) {
                        $this->dbConn = DatabaseBase::newFromType( $this->dbType,
                                array(
-                                       'server' => $this->dbServer,
+                                       'host' => $this->dbServer,
                                        'user'   => $this->dbUser,
                                        'password' => $this->dbPassword,
                                        'dbname' => $this->dbName,