stable

Clone or download

Read-only

chore: remove useless parameters

ugroup_db_get_dynamic_members is always called with $show_suspended and $show_deleted set to false, there is no need to carry this cognitive overhead. More misleading, the tracker id is passed to ugroup_db_get_dynamic_members but $atid parameter was refering to tracker v3 tracker id and cannot work in the context of tv5. Part of: request #31598 (Multi)SelectBox field bound to large list of users (5k+) performance issue Change-Id: I9135344d57e02ff7d824718162b7f1466713809f

Modified Files

Name
M plugins/tracker/include/Tracker/FormElement/Field/ListFields/Bind/BindListUserValueGetter.php +7 −19 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Field/ListFields/Bind/BindListUserValueGetterTest.php +1 −17 Go to diff View file