1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-06 15:45:34 +02:00

[ticket/16015] Add new hook core.ucp_profile_avatar_upload_validation

PHPBB3-16015
This commit is contained in:
DSR! 2019-04-15 01:18:19 -03:00
parent b8de0fc47e
commit c631db62d5

View File

@ -49,6 +49,8 @@ class remote extends \phpbb\avatar\driver\driver
*/ */
public function process_form($request, $template, $user, $row, &$error) public function process_form($request, $template, $user, $row, &$error)
{ {
global $phpbb_dispatcher;
$url = $request->variable('avatar_remote_url', ''); $url = $request->variable('avatar_remote_url', '');
$width = $request->variable('avatar_remote_width', 0); $width = $request->variable('avatar_remote_width', 0);
$height = $request->variable('avatar_remote_height', 0); $height = $request->variable('avatar_remote_height', 0);