Remove early return on joinTable
authoreileen <emcnaughton@wikimedia.org>
Mon, 4 Nov 2019 01:05:30 +0000 (14:05 +1300)
committereileen <emcnaughton@wikimedia.org>
Mon, 4 Nov 2019 06:11:43 +0000 (19:11 +1300)
commitf2d54c7b1faec232386956a96c1d91bb552675b0
tree2044b841413fa0e55eec3e5146e511082df8d088
parentb8725d6cdb30e2b507d02389fda647f42cc23759
Remove early return on joinTable

I looked up the reason for the early return here and it was that the UI for adding other tables
in was too complex. In other words the removed lines should never be true.

However, I don't think it's the place of the query object to enforce not attempting a query the
UI struggles with. Removing this will save a later person having to figure that out
CRM/Core/BAO/CustomQuery.php