From 995d44ccdec2a00124d22c4a28b476ee646c4050 Mon Sep 17 00:00:00 2001 From: Paladox Date: Sat, 29 Oct 2016 23:09:52 +0100 Subject: [PATCH] Make determineCoreSchema a public function again in DatabasePostgres It was changed to a private function today, but it is called in PostgresInstaller so it is causing this error PHP Fatal error: Call to private method DatabasePostgres::determineCoreSchema() from context 'PostgresInstaller' in /home/travis/build/paladox/mw/includes/installer/PostgresInstaller.php on line 515 Caused by I2a067ca89a03f9ebf3f70a4f36ddae92e5b1e468 Change-Id: Ifac5a5c7dfeceeb8c7827d6d70e757633df77ca5 --- includes/libs/rdbms/database/DatabasePostgres.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/libs/rdbms/database/DatabasePostgres.php b/includes/libs/rdbms/database/DatabasePostgres.php index c0d92aab9c..d4d3aa85dc 100644 --- a/includes/libs/rdbms/database/DatabasePostgres.php +++ b/includes/libs/rdbms/database/DatabasePostgres.php @@ -969,7 +969,7 @@ __INDEXATTR__; * * @param string $desiredSchema */ - private function determineCoreSchema( $desiredSchema ) { + public function determineCoreSchema( $desiredSchema ) { $this->begin( __METHOD__, self::TRANSACTION_INTERNAL ); if ( $this->schemaExists( $desiredSchema ) ) { if ( in_array( $desiredSchema, $this->getSchemas() ) ) { -- 2.20.1