From 2fb451c87241b5dfb44b45129978e1bb9b971a26 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 15 Oct 2009 17:55:55 +0000 Subject: - Patch #604618 by Crell, JacobSingh: create a common interface for Archive operations so we can handle .zip, .tar.gz. --- modules/system/system.module | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'modules/system/system.module') diff --git a/modules/system/system.module b/modules/system/system.module index 70c789f8b..e89eb625b 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -3379,6 +3379,18 @@ function system_date_format_delete($dfid) { ->execute(); } +/** + * Implement hook_archiver_info(). + */ +function system_archiver_info() { + return array( + 'tar' => array( + 'class' => 'ArchiverTar', + 'extensions' => array('tar', 'tar.gz', 'tar.bz2'), + ), + ); +} + /** * Theme confirmation forms. * -- cgit v1.2.3