mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/14037] Minor coding style improvements to event
PHPBB3-14037
This commit is contained in:
parent
cf0170d5e3
commit
897b9f333b
1 changed files with 2 additions and 0 deletions
|
@ -284,6 +284,7 @@ class manager
|
||||||
}
|
}
|
||||||
|
|
||||||
$profile_cache = $this->profile_cache;
|
$profile_cache = $this->profile_cache;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Event to modify template headlines of the generated profile fields
|
* Event to modify template headlines of the generated profile fields
|
||||||
*
|
*
|
||||||
|
@ -299,6 +300,7 @@ class manager
|
||||||
'profile_cache',
|
'profile_cache',
|
||||||
);
|
);
|
||||||
extract($this->dispatcher->trigger_event('core.generate_profile_fields_template_headlines', compact($vars)));
|
extract($this->dispatcher->trigger_event('core.generate_profile_fields_template_headlines', compact($vars)));
|
||||||
|
unset($profile_cache);
|
||||||
|
|
||||||
return $tpl_fields;
|
return $tpl_fields;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue