From a1789ddde42033f1b05cc4929491214ee6e79383 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 17 Dec 2015 09:15:42 +0100 Subject: Update to MediaWiki 1.26.0 --- includes/installer/PostgresInstaller.php | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'includes/installer/PostgresInstaller.php') diff --git a/includes/installer/PostgresInstaller.php b/includes/installer/PostgresInstaller.php index b18fe944..cb40f884 100644 --- a/includes/installer/PostgresInstaller.php +++ b/includes/installer/PostgresInstaller.php @@ -83,10 +83,7 @@ class PostgresInstaller extends DatabaseInstaller { function submitConnectForm() { // Get variables from the request - $newValues = $this->setVarsFromRequest( array( - 'wgDBserver', 'wgDBport', 'wgDBname', 'wgDBmwschema', - '_InstallUser', '_InstallPassword' - ) ); + $newValues = $this->setVarsFromRequest( array( 'wgDBserver', 'wgDBport', 'wgDBname', 'wgDBmwschema' ) ); // Validate them $status = Status::newGood(); @@ -98,12 +95,6 @@ class PostgresInstaller extends DatabaseInstaller { if ( !preg_match( '/^[a-zA-Z0-9_]*$/', $newValues['wgDBmwschema'] ) ) { $status->fatal( 'config-invalid-schema', $newValues['wgDBmwschema'] ); } - if ( !strlen( $newValues['_InstallUser'] ) ) { - $status->fatal( 'config-db-username-empty' ); - } - if ( !strlen( $newValues['_InstallPassword'] ) ) { - $status->fatal( 'config-db-password-empty', $newValues['_InstallUser'] ); - } // Submit user box if ( $status->isOK() ) { -- cgit v1.2.3-54-g00ecf