mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 06:51:08 +02:00
[ticket/14037] Minor coding style improvements to event
PHPBB3-14037
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user