aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/avatar/driver/interface.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-02-19 12:24:21 +0100
committerMarc Alexander <admin@m-a-styles.de>2013-02-19 12:24:21 +0100
commit2302cd7a42004b288c5f6be6d0e4b63fe363a983 (patch)
treed3bae66eedd762a2b92140ac8242279279c6b07c /phpBB/includes/avatar/driver/interface.php
parentf09e6865f70b7b3dfedd2d436396a555a29ebe10 (diff)
downloadforums-2302cd7a42004b288c5f6be6d0e4b63fe363a983.tar
forums-2302cd7a42004b288c5f6be6d0e4b63fe363a983.tar.gz
forums-2302cd7a42004b288c5f6be6d0e4b63fe363a983.tar.bz2
forums-2302cd7a42004b288c5f6be6d0e4b63fe363a983.tar.xz
forums-2302cd7a42004b288c5f6be6d0e4b63fe363a983.zip
[feature/avatars] Pass phpbb_user to prepare and process form functions
The phpbb_user object might be used for language variables and other things. PHPBB3-10018
Diffstat (limited to 'phpBB/includes/avatar/driver/interface.php')
-rw-r--r--phpBB/includes/avatar/driver/interface.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/phpBB/includes/avatar/driver/interface.php b/phpBB/includes/avatar/driver/interface.php
index 9364699b5f..6ceb48ad10 100644
--- a/phpBB/includes/avatar/driver/interface.php
+++ b/phpBB/includes/avatar/driver/interface.php
@@ -55,6 +55,7 @@ interface phpbb_avatar_driver_interface
*
* @param phpbb_request $request Request object
* @param phpbb_template $template Template object
+ * @param phpbb_user $user User object
* @param array $row User data or group data that has been cleaned with
* phpbb_avatar_manager::clean_row
* @param array &$error Reference to an error array that is filled by this
@@ -64,7 +65,7 @@ interface phpbb_avatar_driver_interface
*
* @return bool True if form has been successfully prepared
*/
- public function prepare_form($request, $template, $row, &$error);
+ public function prepare_form($request, $template, $user, $row, &$error);
/**
* Prepare form for changing the acp settings of this avatar
@@ -82,6 +83,7 @@ interface phpbb_avatar_driver_interface
*
* @param phpbb_request $request Request object
* @param phpbb_template $template Template object
+ * @param phpbb_user $user User object
* @param array $row User data or group data that has been cleaned with
* phpbb_avatar_manager::clean_row
* @param array &$error Reference to an error array that is filled by this
@@ -92,7 +94,7 @@ interface phpbb_avatar_driver_interface
* @return array Array containing the avatar data as follows:
* ['avatar'], ['avatar_width'], ['avatar_height']
*/
- public function process_form($request, $template, $row, &$error);
+ public function process_form($request, $template, $user, $row, &$error);
/**
* Delete avatar