From 6618f0ea246100c55636ef679df55d2c951dfbc0 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Wed, 27 Nov 2013 15:18:42 +0100 Subject: [ticket/11859] Make avatar drivers return template filename The service name might not follow the expected naming scheme which would cause abnormally long filenames and confusion for authors that might add more avatar drivers. PHPBB3-11859 --- phpBB/phpbb/avatar/driver/remote.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'phpBB/phpbb/avatar/driver/remote.php') diff --git a/phpBB/phpbb/avatar/driver/remote.php b/phpBB/phpbb/avatar/driver/remote.php index 22d50c703e..36623942df 100644 --- a/phpBB/phpbb/avatar/driver/remote.php +++ b/phpBB/phpbb/avatar/driver/remote.php @@ -186,4 +186,12 @@ class remote extends \phpbb\avatar\driver\driver 'avatar_height' => $height, ); } + + /** + * @inheritdoc + */ + public function get_template_name() + { + return 'ucp_avatar_options_remote.html'; + } } -- cgit v1.2.1