From 3a2d55705a797cf5e46051f360de1ae72d443530 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 22 Jan 2006 07:03:03 +0000 Subject: [PATCH] * Suppress useless percentage indicator on output from 7za during dumps --- RELEASE-NOTES | 1 + includes/Export.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 0cd402789d..9d51b96e79 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -555,6 +555,7 @@ fully support the editing toolbar, but was found to be too confusing. * Use the "block", not the "protect" permission, when determining whether to show a "block user" link in the toolbox * Fix backup dump text prefetch for XMLReader constant changes in PHP 5.1 +* Suppress useless percentage indicator on output from 7za during dumps === Caveats === diff --git a/includes/Export.php b/includes/Export.php index f49b6855b0..88ef6e3dbf 100644 --- a/includes/Export.php +++ b/includes/Export.php @@ -483,7 +483,7 @@ class DumpBZip2Output extends DumpPipeOutput { */ class Dump7ZipOutput extends DumpPipeOutput { function Dump7ZipOutput( $file ) { - $command = "7za a -si " . wfEscapeShellArg( $file ); + $command = "7za a -bd -si " . wfEscapeShellArg( $file ); parent::DumpPipeOutput( $command ); } } -- 2.20.1