diff options
Diffstat (limited to 'phpBB/includes/functions_transfer.php')
| -rw-r--r-- | phpBB/includes/functions_transfer.php | 15 | 
1 files changed, 6 insertions, 9 deletions
| diff --git a/phpBB/includes/functions_transfer.php b/phpBB/includes/functions_transfer.php index 5ab7a87efd..17b458d2cb 100644 --- a/phpBB/includes/functions_transfer.php +++ b/phpBB/includes/functions_transfer.php @@ -2,9 +2,8 @@  /**  *  * @package phpBB3 -* @version $Id$  * @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License +* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2  *  */ @@ -235,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')); @@ -280,7 +279,7 @@ class ftp extends transfer  		}  		// Init some needed values -		transfer::transfer(); +		$this->transfer();  		return;  	} @@ -288,7 +287,7 @@ class ftp extends transfer  	/**  	* Requests data  	*/ -	function data() +	static public function data()  	{  		global $user; @@ -534,7 +533,7 @@ class ftp_fsock extends transfer  		}  		// Init some needed values -		transfer::transfer(); +		$this->transfer();  		return;  	} @@ -542,7 +541,7 @@ class ftp_fsock extends transfer  	/**  	* Requests data  	*/ -	function data() +	static public function data()  	{  		global $user; @@ -902,5 +901,3 @@ class ftp_fsock extends transfer  		return ($return) ? $response : true;  	}  } - -?>
\ No newline at end of file | 
