summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonan Dowling2011-03-04 05:02:25 (GMT)
committer Ronan Dowling2011-03-04 05:02:25 (GMT)
commitd61943ae50cd359f1ff88e519248fe1396b5a5ee (patch)
treef3a1facfaa87eee1784be86385decf2ce8029acc
parente25e07eb9f540bf682e6f102161968bd8c8a515a (diff)
Defaulted compression to gzip
-rw-r--r--includes/filters.compression.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/filters.compression.inc b/includes/filters.compression.inc
index 20a0e27..7e2c8c7 100644
--- a/includes/filters.compression.inc
+++ b/includes/filters.compression.inc
@@ -32,7 +32,8 @@ class backup_migrate_filter_compression extends backup_migrate_filter {
* Get the form for the settings for this filter.
*/
function backup_settings_default() {
- return array('compression' => 'none');
+ $options = $this->_backup_migrate_get_compression_form_item_options();
+ return array('compression' => isset($options['gzip']) ? 'gzip' : 'none');
}
/**