mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-18 22:58:10 +01:00
[ticket/11792] Add performance remark to core.user_setup event PHPDoc
To prevent extension authors from loading all their translations globally, a remark on this was added to the PHPDoc documentation of the core.user_setup event. PHPBB3-11792
This commit is contained in:
parent
88e5ba4e57
commit
953ca1785f
@ -145,6 +145,9 @@ class phpbb_user extends phpbb_session
|
||||
* 'ext_name' => (string) [extension name],
|
||||
* 'lang_set' => (string|array) [language files],
|
||||
* )
|
||||
* For performance reasons, only load translations
|
||||
* that are absolutely needed globally using this
|
||||
* event. Use local events otherwise.
|
||||
* @var mixed style_id Style we are going to display
|
||||
* @since 3.1-A1
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user