mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 07:35:29 +02:00
[ticket/16015] Add new hook core.ucp_profile_avatar_upload_validation
PHPBB3-16015
This commit is contained in:
parent
b8de0fc47e
commit
c631db62d5
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user