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

Merge branch '3.1.x'

This commit is contained in:
Marc Alexander
2016-01-06 13:26:23 +01:00
6 changed files with 38 additions and 19 deletions

View File

@@ -124,6 +124,22 @@ abstract class driver implements \phpbb\avatar\driver\driver_interface
return $this->name;
}
/**
* {@inheritdoc}
*/
public function get_config_name()
{
return preg_replace('#^phpbb\\\\avatar\\\\driver\\\\#', '', get_class($this));
}
/**
* {@inheritdoc}
*/
public function get_acp_template_name()
{
return 'acp_avatar_options_' . $this->get_config_name() . '.html';
}
/**
* Sets the name of the driver.
*