diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-10-15 17:55:55 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-10-15 17:55:55 +0000 |
commit | 2fb451c87241b5dfb44b45129978e1bb9b971a26 (patch) | |
tree | faca7f0132377c12a8a9f4397e5d4d91fdc0fd99 /modules/system/system.module | |
parent | 977d635bb1705ecebae8783a5e629214986eaddf (diff) | |
download | brdo-2fb451c87241b5dfb44b45129978e1bb9b971a26.tar.gz brdo-2fb451c87241b5dfb44b45129978e1bb9b971a26.tar.bz2 |
- Patch #604618 by Crell, JacobSingh: create a common interface for Archive operations so we can handle .zip, .tar.gz.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 12 |
1 files changed, 12 insertions, 0 deletions
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 @@ -3380,6 +3380,18 @@ function system_date_format_delete($dfid) { } /** + * Implement hook_archiver_info(). + */ +function system_archiver_info() { + return array( + 'tar' => array( + 'class' => 'ArchiverTar', + 'extensions' => array('tar', 'tar.gz', 'tar.bz2'), + ), + ); +} + +/** * Theme confirmation forms. * * By default this does not alter the appearance of a form at all, |