1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 10:16:36 +02:00

[feature/avatars] Properly implement custom HTML in the interface

Previously the driver class added a variable that defined wether an avatar
driver would return custom HTML. The existence of this variable was
implied in the interface. It's also not needed which is why it has been
removed.

PHPBB3-10018
This commit is contained in:
Marc Alexander
2012-11-29 23:08:29 +01:00
parent cb1d98ab7f
commit 81a1a21185
4 changed files with 7 additions and 17 deletions

View File

@@ -40,8 +40,7 @@ interface phpbb_avatar_driver_interface
public function get_data($row, $ignore_config = false);
/**
* Returns custom html for displaying this avatar.
* Only called if $custom_html is true.
* Returns custom html if it is needed for displaying this avatar
*
* @param bool $ignore_config Whether this function should respect the users prefs
* and board configuration configuration option, or should just render