diff options
| author | GerB <ger_bruinsma@hotmail.com> | 2018-02-13 11:28:19 +0100 | 
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2018-02-13 20:56:08 +0100 | 
| commit | 3244cab37094e51a7a78055b05c0a7f980060865 (patch) | |
| tree | 13a3389cfadc5282eb3b7b2c11e775e8a4c2419c /phpBB/phpbb | |
| parent | f29784e288a45a05a5a6953217c6e2c0a0ed352a (diff) | |
| download | forums-3244cab37094e51a7a78055b05c0a7f980060865.tar forums-3244cab37094e51a7a78055b05c0a7f980060865.tar.gz forums-3244cab37094e51a7a78055b05c0a7f980060865.tar.bz2 forums-3244cab37094e51a7a78055b05c0a7f980060865.tar.xz forums-3244cab37094e51a7a78055b05c0a7f980060865.zip | |
[ticket/15547] Add file object to event
Add file object to core.avatar_driver_upload_move_file_before.
PHPBB3-15547
Diffstat (limited to 'phpBB/phpbb')
| -rw-r--r-- | phpBB/phpbb/avatar/driver/upload.php | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/phpBB/phpbb/avatar/driver/upload.php b/phpBB/phpbb/avatar/driver/upload.php index d765a27871..77b44754ac 100644 --- a/phpBB/phpbb/avatar/driver/upload.php +++ b/phpBB/phpbb/avatar/driver/upload.php @@ -203,15 +203,18 @@ class upload extends \phpbb\avatar\driver\driver  		*  		* @event core.avatar_driver_upload_move_file_before  		* @var	array	filedata			Array containing uploaded file data +		* @var	\phpbb\files\filespec file	Instance of filespec class  		* @var	string	destination			Destination directory where the file is going to be moved  		* @var	string	prefix				Prefix for the avatar filename  		* @var	array	row					Array with avatar row data  		* @var	array	error				Array of errors, if filled in by this event file will not be moved  		* @since 3.1.6-RC1  		* @changed 3.1.9-RC1 Added filedata +		* @changed 3.2.3-RC1 Added file  		*/  		$vars = array(  			'filedata', +			'file',  			'destination',  			'prefix',  			'row', | 
