diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2013-11-27 15:18:42 +0100 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2013-11-27 15:18:42 +0100 |
| commit | 6618f0ea246100c55636ef679df55d2c951dfbc0 (patch) | |
| tree | 300fa254b1196013eeff2aa3c8432ec402d5290a /phpBB/phpbb/avatar/driver/local.php | |
| parent | 125e76f9aa83141534387a965e8373c9b9cd5c4d (diff) | |
| download | forums-6618f0ea246100c55636ef679df55d2c951dfbc0.tar forums-6618f0ea246100c55636ef679df55d2c951dfbc0.tar.gz forums-6618f0ea246100c55636ef679df55d2c951dfbc0.tar.bz2 forums-6618f0ea246100c55636ef679df55d2c951dfbc0.tar.xz forums-6618f0ea246100c55636ef679df55d2c951dfbc0.zip | |
[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
Diffstat (limited to 'phpBB/phpbb/avatar/driver/local.php')
| -rw-r--r-- | phpBB/phpbb/avatar/driver/local.php | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ -135,6 +135,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) * |
