X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FExport.php;h=c3ef9451aa55bbf86cd108e3892e6996532a4945;hb=839f3ffd651465380923a5110dc834c23fd9c27f;hp=9307795d8c77f44f83a653a04ead8c186e60f4be;hpb=5bb10802f9b601540dcfed06f2f87289d5e08c60;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Export.php b/includes/Export.php index 9307795d8c..c3ef9451aa 100644 --- a/includes/Export.php +++ b/includes/Export.php @@ -558,7 +558,7 @@ class Dump7ZipOutput extends DumpPipeOutput { $command = "7za a -bd -si " . wfEscapeShellArg( $file ); // Suppress annoying useless crap from p7zip // Unfortunately this could suppress real error messages too - $command .= " >/dev/null 2>&1"; + $command .= ' >' . wfGetNull() . ' 2>&1'; parent::DumpPipeOutput( $command ); } } @@ -767,4 +767,4 @@ function xmlsafe( $string ) { return $string; } -?> +