X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FInstaller.php;h=c719c762e3df8b277397ae4d825839c9e83a7283;hb=35243c574fa96b447d1683a9cae234ec7958d611;hp=5dc3aeca9269dd5336a0de93885c1c5051a9c9ce;hpb=8f2f5b916b9c5fd0e3dde53b1cc716b0ac3c1c3c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index 5dc3aeca92..c719c762e3 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -759,8 +759,7 @@ abstract class Installer { $allNames = []; - // Messages: config-type-mysql, config-type-postgres, config-type-oracle, - // config-type-sqlite + // Messages: config-type-mysql, config-type-postgres, config-type-sqlite foreach ( self::getDBTypes() as $name ) { $allNames[] = wfMessage( "config-type-$name" )->text(); } @@ -1271,7 +1270,7 @@ abstract class Installer { * * @param string $directory Directory to search in, relative to $IP, must be either "extensions" * or "skins" - * @return array [ $extName => [ 'screenshots' => [ '...' ] ] + * @return array[][] [ $extName => [ 'screenshots' => [ '...' ] ] */ public function findExtensions( $directory = 'extensions' ) { switch ( $directory ) { @@ -1608,11 +1607,11 @@ abstract class Installer { // If we've hit some sort of fatal, we need to bail. // Callback already had a chance to do output above. - if ( !$status->isOk() ) { + if ( !$status->isOK() ) { break; } } - if ( $status->isOk() ) { + if ( $status->isOK() ) { $this->showMessage( 'config-install-db-success' );