From 48d6ddfee8f27d1382a788f8d756a272cbf3defd Mon Sep 17 00:00:00 2001 From: Platonides Date: Sat, 21 Aug 2010 14:53:39 +0000 Subject: [PATCH] Follow up r71289. getServerVersion() call was needed to initialise numeric_version. In fact, we can use getServerVersion() here. --- maintenance/updaters.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maintenance/updaters.inc b/maintenance/updaters.inc index ca18457311..55bdd77ec7 100644 --- a/maintenance/updaters.inc +++ b/maintenance/updaters.inc @@ -1210,8 +1210,8 @@ END; function do_postgres_updates() { global $wgDatabase, $wgDBmwschema, $wgDBts2schema, $wgDBuser; - # # Gather version numbers in case we need them - $numver = $wgDatabase->numeric_version; # # X.Y e.g. 8.3 + # Gather version numbers in case we need them + $numver = $wgDatabase->getServerVersion(); # Just in case their LocalSettings.php does not have this: if ( !isset( $wgDBmwschema ) ) { -- 2.20.1