X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=maintenance%2FgetConfiguration.php;h=de6e87a38a5ff54183d2f322d6fe3db82a814580;hb=90492a91208c5bd15ac6ac2e52caff37a6b83bf7;hp=65ffe1422b77eeb46ee9b6498cba0cc8f00e6d5d;hpb=3a79761da37abe0e147e4a5ee61b7ee17ec7efc3;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/getConfiguration.php b/maintenance/getConfiguration.php index 65ffe1422b..de6e87a38a 100644 --- a/maintenance/getConfiguration.php +++ b/maintenance/getConfiguration.php @@ -64,7 +64,7 @@ class GetConfiguration extends Maintenance { $validFormat = in_array( $format, self::$outFormats ); if ( !$validFormat ) { - $this->error( "--format set to an unrecognized format", 0 ); + $this->error( "--format set to an unrecognized format" ); $error_out = true; } @@ -192,5 +192,5 @@ class GetConfiguration extends Maintenance { } } -$maintClass = "GetConfiguration"; +$maintClass = GetConfiguration::class; require_once RUN_MAINTENANCE_IF_MAIN;