[REF] Extract portion of GroupContact load that builds the temporary table
authoreileen <emcnaughton@wikimedia.org>
Tue, 30 Mar 2021 05:42:36 +0000 (18:42 +1300)
committereileen <emcnaughton@wikimedia.org>
Tue, 30 Mar 2021 05:49:28 +0000 (18:49 +1300)
commit43a96367eedb256b78638e3998ba1811894d2fee
tree1602a02e2ba129f8d11637f6496c5660d3699453
parent177b66d2611960e15f3939478bb2efaf61e136f5
[REF] Extract portion of GroupContact load that builds the temporary table

This is mostly a straight extraction. I chose to pass groupIDs in as an array
as I think that creates greater flexibility and I chose to pass CRM_Utils_SQL_TempTable
in rather than load it in the function because I have some ideas I'm working through
about how that might also provide more flexibilty

Those things can be changed later if we want as it IS a protected function
CRM/Contact/BAO/GroupContactCache.php
CRM/Contact/BAO/SearchCustom.php