aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/avatar/manager.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/avatar/manager.php')
-rw-r--r--phpBB/phpbb/avatar/manager.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/phpBB/phpbb/avatar/manager.php b/phpBB/phpbb/avatar/manager.php
index 5274ac6a26..5db9ab13fb 100644
--- a/phpBB/phpbb/avatar/manager.php
+++ b/phpBB/phpbb/avatar/manager.php
@@ -280,6 +280,18 @@ class manager
}
/**
+ * Get the template name of an avatar driver
+ *
+ * @param object $driver Avatar driver object
+ *
+ * @return string Avatar driver template name
+ */
+ public function get_driver_template_name($driver)
+ {
+ return $driver->get_acp_template_name();
+ }
+
+ /**
* Replace "error" strings with their real, localized form
*
* @param \phpbb\user phpBB User object