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 01:06:01 +0000 (14:06 +1300)
commit688e7a0d262d8331c5e4092023b55c7f0984e0b6
treebb8f29bdeb4fbffbbccf68ab241dd75d738c58af
parentc796d7acd30a2d9859b4befc480f4ea8a4c8426e
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