[ticket/14037] Minor coding style improvements to event

PHPBB3-14037
This commit is contained in:
Marc Alexander 2015-08-20 10:14:07 +02:00
parent cf0170d5e3
commit 897b9f333b

View file

@ -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;
} }