From: Platonides Date: Fri, 28 Jan 2011 18:10:39 +0000 (+0000) Subject: Restore global wrongly removed in r80892 X-Git-Tag: 1.31.0-rc.0~32319 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=6950195767856c518d82a31c52c758d1350dc259;p=lhc%2Fweb%2Fwiklou.git Restore global wrongly removed in r80892 --- diff --git a/includes/db/DatabaseIbm_db2.php b/includes/db/DatabaseIbm_db2.php index 329bc6d79e..a2a2be0b4e 100644 --- a/includes/db/DatabaseIbm_db2.php +++ b/includes/db/DatabaseIbm_db2.php @@ -264,6 +264,8 @@ class DatabaseIbm_db2 extends DatabaseBase { $dbName = false, $flags = 0, $schema = self::USE_GLOBAL ) { + global $wgDBmwschema; + if ( $schema == self::USE_GLOBAL ) { $this->mSchema = $wgDBmwschema; } else {