mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Merge branch '3.3.x'
This commit is contained in:
@@ -33,7 +33,7 @@ class avatar extends \Twig_Extension
|
||||
public function getFunctions()
|
||||
{
|
||||
return array(
|
||||
new \Twig_SimpleFunction('avatar', array($this, 'get_avatar')),
|
||||
new \Twig\TwigFunction('avatar', array($this, 'get_avatar')),
|
||||
);
|
||||
}
|
||||
|
||||
|
@@ -46,7 +46,7 @@ class config extends \Twig_Extension
|
||||
public function getFunctions()
|
||||
{
|
||||
return array(
|
||||
new \Twig_SimpleFunction('config', array($this, 'get_config')),
|
||||
new \Twig\TwigFunction('config', array($this, 'get_config')),
|
||||
);
|
||||
}
|
||||
|
||||
|
@@ -33,7 +33,7 @@ class username extends \Twig_Extension
|
||||
public function getFunctions()
|
||||
{
|
||||
return array(
|
||||
new \Twig_SimpleFunction('username', array($this, 'get_username')),
|
||||
new \Twig\TwigFunction('username', array($this, 'get_username')),
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user