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/local.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'phpBB/phpbb/avatar/driver/local.php') diff --git a/phpBB/phpbb/avatar/driver/local.php b/phpBB/phpbb/avatar/driver/local.php index f6acc6e636..611a44cb3d 100644 --- a/phpBB/phpbb/avatar/driver/local.php +++ b/phpBB/phpbb/avatar/driver/local.php @@ -134,6 +134,14 @@ class local extends \phpbb\avatar\driver\driver ); } + /** + * @inheritdoc + */ + public function get_template_name() + { + return 'ucp_avatar_options_local.html'; + } + /** * Get a list of avatars that are locally available * Results get cached for 24 hours (86400 seconds) -- cgit v1.2.1