aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_transfer.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2014-01-17 18:28:19 -0800
committerNathan Guse <nathaniel.guse@gmail.com>2014-01-17 18:28:19 -0800
commit8486d6a9d15f2f483383286f39abe474917c95ad (patch)
tree342bc5169a639270a659187c046048502f9e6b23 /phpBB/includes/functions_transfer.php
parent54afdeb7eeb460502559f6d0c0048c9e89647a8b (diff)
parentd512197bb9b8ec609746c7bf3e90c78449e89b7b (diff)
downloadforums-8486d6a9d15f2f483383286f39abe474917c95ad.tar
forums-8486d6a9d15f2f483383286f39abe474917c95ad.tar.gz
forums-8486d6a9d15f2f483383286f39abe474917c95ad.tar.bz2
forums-8486d6a9d15f2f483383286f39abe474917c95ad.tar.xz
forums-8486d6a9d15f2f483383286f39abe474917c95ad.zip
Merge pull request #1938 from prototech/ticket/12077
[ticket/12077] Ensure that valid upload methods are presented to user in language packs page.
Diffstat (limited to 'phpBB/includes/functions_transfer.php')
-rw-r--r--phpBB/includes/functions_transfer.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions_transfer.php b/phpBB/includes/functions_transfer.php
index 07c9171c60..9bec17ca8f 100644
--- a/phpBB/includes/functions_transfer.php
+++ b/phpBB/includes/functions_transfer.php
@@ -234,7 +234,7 @@ class transfer
/**
* Determine methods able to be used
*/
- function methods()
+ static public function methods()
{
$methods = array();
$disabled_functions = explode(',', @ini_get('disable_functions'));
@@ -287,7 +287,7 @@ class ftp extends transfer
/**
* Requests data
*/
- function data()
+ static public function data()
{
global $user;
@@ -541,7 +541,7 @@ class ftp_fsock extends transfer
/**
* Requests data
*/
- function data()
+ static public function data()
{
global $user;