mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-25 20:44:01 +01:00
[feature/avatars] Remove unneeded argument for driver prepare_form()
PHPBB3-10018
This commit is contained in:
parent
6d994380d7
commit
d104866992
@ -38,13 +38,13 @@ abstract class phpbb_avatar_driver implements phpbb_avatar_driver_interface
|
||||
* @type string
|
||||
*/
|
||||
protected $phpbb_root_path;
|
||||
|
||||
|
||||
/**
|
||||
* Current $phpEx
|
||||
* @type string
|
||||
*/
|
||||
protected $phpEx;
|
||||
|
||||
|
||||
/**
|
||||
* A cache driver
|
||||
* @type phpbb_cache_driver_interface
|
||||
@ -99,7 +99,7 @@ abstract class phpbb_avatar_driver implements phpbb_avatar_driver_interface
|
||||
/**
|
||||
* @inheritdoc
|
||||
**/
|
||||
public function prepare_form($template, $row, &$error, &$override_focus)
|
||||
public function prepare_form($template, $row, &$error)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -46,7 +46,7 @@ interface phpbb_avatar_driver_interface
|
||||
/**
|
||||
* @TODO
|
||||
**/
|
||||
public function prepare_form($template, $row, &$error, &$override_focus);
|
||||
public function prepare_form($template, $row, &$error);
|
||||
|
||||
/**
|
||||
* @TODO
|
||||
|
@ -43,7 +43,7 @@ class phpbb_avatar_driver_local extends phpbb_avatar_driver
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
@ -103,7 +103,7 @@ class phpbb_avatar_driver_local extends phpbb_avatar_driver
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
|
@ -58,7 +58,7 @@ class phpbb_avatar_driver_upload extends phpbb_avatar_driver
|
||||
'S_UPLOAD_AVATAR_URL' => ($this->config['allow_avatar_remote_upload']) ? true : false,
|
||||
'AV_UPLOAD_SIZE' => $this->config['avatar_filesize'],
|
||||
));
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user