summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Gohr <gohr@cosmocode.de>2013-01-23 16:16:18 +0100
committerAndreas Gohr <gohr@cosmocode.de>2013-01-23 16:16:18 +0100
commit7afccd0aab62eed3797273e5241b7729bab1fb3f (patch)
tree6e80f5d0180758a35feeaf3cf12513884d91633d /lib
parentd0cf0750a5e3c0dba2eb161ce81fdca331494e6e (diff)
downloadrpg-7afccd0aab62eed3797273e5241b7729bab1fb3f.tar.gz
rpg-7afccd0aab62eed3797273e5241b7729bab1fb3f.tar.bz2
Revert "handle bzip1 as well"
This reverts commit f2cb3ec76dec3fe2b40f25765ef842223c7132fe. Turns out I was too fast merging this. I can't get PHP's bzip handler to handle a bzip1 compressed file.
Diffstat (limited to 'lib')
-rw-r--r--lib/plugins/plugin/classes/ap_download.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/plugin/classes/ap_download.class.php b/lib/plugins/plugin/classes/ap_download.class.php
index e13d1b8f2..3cc455867 100644
--- a/lib/plugins/plugin/classes/ap_download.class.php
+++ b/lib/plugins/plugin/classes/ap_download.class.php
@@ -195,7 +195,7 @@ class ap_download extends ap_manage {
if (substr($target, -1) == "/") $target = substr($target, 0, -1);
$ext = $this->guess_archive($file);
- if (in_array($ext, array('tar','bz','bz2','gz'))) {
+ if (in_array($ext, array('tar','bz','gz'))) {
switch($ext){
case 'bz':
$compress_type = Tar::COMPRESS_BZIP;