aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_compress.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-09-09 09:09:21 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2012-09-09 09:09:21 -0500
commitb58ef116e1157311463ae9c5c313b314764eb9e2 (patch)
tree8061c9ff09a684520cf963636937c99d7cbbb3ec /phpBB/includes/functions_compress.php
parent86b801df7304d43f117bea762710149c25385260 (diff)
parent8a91598b14e0c638a7674294790a3f4079c58758 (diff)
downloadforums-b58ef116e1157311463ae9c5c313b314764eb9e2.tar
forums-b58ef116e1157311463ae9c5c313b314764eb9e2.tar.gz
forums-b58ef116e1157311463ae9c5c313b314764eb9e2.tar.bz2
forums-b58ef116e1157311463ae9c5c313b314764eb9e2.tar.xz
forums-b58ef116e1157311463ae9c5c313b314764eb9e2.zip
Merge branch 'develop' of git://github.com/phpbb/phpbb3 into ticket/11103
Diffstat (limited to 'phpBB/includes/functions_compress.php')
-rw-r--r--phpBB/includes/functions_compress.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/functions_compress.php b/phpBB/includes/functions_compress.php
index 8e07e6d1b8..4675394633 100644
--- a/phpBB/includes/functions_compress.php
+++ b/phpBB/includes/functions_compress.php
@@ -159,8 +159,10 @@ class compress
/**
* Return available methods
+ *
+ * @return array Array of strings of available compression methods (.tar, .tar.gz, .zip, etc.)
*/
- function methods()
+ public static function methods()
{
$methods = array('.tar');
$available_methods = array('.tar.gz' => 'zlib', '.tar.bz2' => 'bz2', '.zip' => 'zlib');