Move header loop for relationship fields back into main function.
authoreileen <emcnaughton@wikimedia.org>
Thu, 16 Aug 2018 00:55:49 +0000 (12:55 +1200)
committereileen <emcnaughton@wikimedia.org>
Sun, 19 Aug 2018 21:54:25 +0000 (09:54 +1200)
commit3883f8fbce13b2f00e23549877da7337e7028d6b
tree97a56c93afce97b34b692f8301d2f1799dad2100
parent050aceb1803a2857f4d8761344e40466a9b2d981
Move header loop for relationship fields back into main function.

The setHeaderFields function is handling a lot of wrangling for the
relation type field that is not closely connected to the other work it does.

Moving that loop up simplfies the function and stops us from
calling sqlColumnDefinition in a scenario where it will just be
ignored anyway

m
CRM/Export/BAO/Export.php