From: Paladox Date: Sat, 29 Oct 2016 22:09:52 +0000 (+0100) Subject: Make determineCoreSchema a public function again in DatabasePostgres X-Git-Tag: 1.31.0-rc.0~4998^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=995d44ccdec2a00124d22c4a28b476ee646c4050;hp=92b2319de6a19f36b8a06d0d8ee31a2b020c5091 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 --- 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() ) ) {