X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FexportSites.php;h=145c9249236952f7e6c80515414c415aa80838f5;hb=843a444b68d671ca19dfbffb77fb14a34ca4fa41;hp=1c71dc0ed070d748a2083cc7dd2cf8d1f0f4040e;hpb=5907e840ccad13f28438b413687342b65f3ab900;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/exportSites.php b/maintenance/exportSites.php index 1c71dc0ed0..145c924923 100644 --- a/maintenance/exportSites.php +++ b/maintenance/exportSites.php @@ -17,7 +17,9 @@ class ExportSites extends Maintenance { public function __construct() { $this->mDescription = 'Exports site definitions the sites table to XML file'; - $this->addArg( 'file', 'A file to write the XML to (see docs/sitelist.txt). Use "php://stdout" to write to stdout.', true ); + $this->addArg( 'file', 'A file to write the XML to (see docs/sitelist.txt). ' . + 'Use "php://stdout" to write to stdout.', true + ); parent::__construct(); } @@ -34,7 +36,7 @@ class ExportSites extends Maintenance { $handle = fopen( $file, 'w' ); - if ( !$handle ) { + if ( !$handle ) { $this->error( "Failed to open $file for writing.\n", 1 ); } @@ -51,4 +53,4 @@ class ExportSites extends Maintenance { } $maintClass = 'ExportSites'; -require_once( RUN_MAINTENANCE_IF_MAIN ); +require_once RUN_MAINTENANCE_IF_MAIN;