X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FexportSites.php;h=542bddac79bd45403fad23762b84e521f309e2b2;hb=918fee715de966760522725b28ab1c757b6cee46;hp=b1e4fa943b96e33d8eaaf989f2dad353fbf19ae4;hpb=57eaa2bf04ce1b48bd89c10defe4de5b7d31f047;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/exportSites.php b/maintenance/exportSites.php index b1e4fa943b..542bddac79 100644 --- a/maintenance/exportSites.php +++ b/maintenance/exportSites.php @@ -37,7 +37,7 @@ class ExportSites extends Maintenance { $handle = fopen( $file, 'w' ); if ( !$handle ) { - $this->error( "Failed to open $file for writing.\n", 1 ); + $this->fatalError( "Failed to open $file for writing.\n" ); } $exporter = new SiteExporter( $handle );