diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-02-01 07:17:59 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-02-01 07:17:59 +0000 |
commit | 10fd10cf455bf21f7799c6c9b245808f5262733a (patch) | |
tree | 98eb0c73bb9f11625e18ec04cccdcf6fceed5da6 /modules/system/system.archiver.inc | |
parent | b9a3a7bfc1495fea6a00a418ca0e50fa9fc939f2 (diff) | |
download | brdo-10fd10cf455bf21f7799c6c9b245808f5262733a.tar.gz brdo-10fd10cf455bf21f7799c6c9b245808f5262733a.tar.bz2 |
#700686 by dww: Make ArchiverInterface::listContents() return a simple list of files, rather than a keyed array, which is inconsistent between extension handlers.
Diffstat (limited to 'modules/system/system.archiver.inc')
-rw-r--r-- | modules/system/system.archiver.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/system/system.archiver.inc b/modules/system/system.archiver.inc index 557a27d80..c6880e170 100644 --- a/modules/system/system.archiver.inc +++ b/modules/system/system.archiver.inc @@ -49,7 +49,11 @@ class ArchiverTar implements ArchiverInterface { } public function listContents() { - return $this->tar->listContent(); + $files = array(); + foreach ($this->tar->listContent() as $file_data) { + $files[] = $file_data['filename']; + } + return $files; } /** |