global $wgDBname, $wgDBuser, $wgDBpassword, $wgDBsuperuser, $wgDBmwschema, $wgDBts2schema;
print "<li>Checking the version of Postgres...";
- $version = $this->numeric_version = $this->getServerVersion();
+ $version = $this->getServerVersion();
$PGMINVER = '8.1';
if ($version < $PGMINVER) {
print "<b>FAILED</b>. Required version is $PGMINVER. You have $version</li>\n";
*/
function getServerVersion() {
$versionInfo = pg_version( $this->mConn );
- return $versionInfo['server'];
+ $this->numeric_version = $versionInfo['server'];
+ return $this->numeric_version;
}
/**