1
0
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:
rechosen 2013-08-16 14:41:15 +02:00
parent 88e5ba4e57
commit 953ca1785f

View File

@ -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
*/