X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FexportSites.php;h=542bddac79bd45403fad23762b84e521f309e2b2;hb=bf6b03e81ed9df873db8dd8c4e73a971b1834c89;hp=b1e4fa943b96e33d8eaaf989f2dad353fbf19ae4;hpb=6593f76927558202414e67d4ee1435c96baea658;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 );