mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/14043] Add dispatcher to globals, change @since value
PHPBB3-14043
This commit is contained in:
parent
5e3ebda0da
commit
c6a654e859
1 changed files with 2 additions and 2 deletions
|
@ -4766,7 +4766,7 @@ function phpbb_get_avatar($row, $alt, $ignore_config = false)
|
||||||
{
|
{
|
||||||
global $user, $config, $cache, $phpbb_root_path, $phpEx;
|
global $user, $config, $cache, $phpbb_root_path, $phpEx;
|
||||||
global $request;
|
global $request;
|
||||||
global $phpbb_container;
|
global $phpbb_container, $phpbb_dispatcher;
|
||||||
|
|
||||||
if (!$config['allow_avatar'] && !$ignore_config)
|
if (!$config['allow_avatar'] && !$ignore_config)
|
||||||
{
|
{
|
||||||
|
@ -4811,7 +4811,7 @@ function phpbb_get_avatar($row, $alt, $ignore_config = false)
|
||||||
*
|
*
|
||||||
* @event core.get_avatar_after
|
* @event core.get_avatar_after
|
||||||
* @var string html The HTML <img> tag of generated avatar
|
* @var string html The HTML <img> tag of generated avatar
|
||||||
* @since 3.1.6
|
* @since 3.1.6-RC1
|
||||||
*/
|
*/
|
||||||
$vars = array('html');
|
$vars = array('html');
|
||||||
extract($phpbb_dispatcher->trigger_event('core.get_avatar_after', compact($vars)));
|
extract($phpbb_dispatcher->trigger_event('core.get_avatar_after', compact($vars)));
|
||||||
|
|
Loading…
Add table
Reference in a new issue