From: Greg Sabino Mullane Date: Sat, 22 Nov 2008 06:40:46 +0000 (+0000) Subject: Set numeric_version X-Git-Tag: 1.31.0-rc.0~44222 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=40dd8ce63f895327dc87ca8cbcb5f63bb7059bba;p=lhc%2Fweb%2Fwiklou.git Set numeric_version --- diff --git a/includes/db/DatabasePostgres.php b/includes/db/DatabasePostgres.php index eb15747dcb..deb1683570 100644 --- a/includes/db/DatabasePostgres.php +++ b/includes/db/DatabasePostgres.php @@ -205,7 +205,7 @@ class DatabasePostgres extends Database { global $wgDBname, $wgDBuser, $wgDBpassword, $wgDBsuperuser, $wgDBmwschema, $wgDBts2schema; print "
  • Checking the version of Postgres..."; - $version = $this->getServerVersion(); + $version = $this->numeric_version = $this->getServerVersion(); $PGMINVER = '8.1'; if ($version < $PGMINVER) { print "FAILED. Required version is $PGMINVER. You have $version
  • \n";