[REF] [export] remove chunk of non-functional code
authoreileen <emcnaughton@wikimedia.org>
Wed, 10 Jul 2019 00:24:35 +0000 (12:24 +1200)
committereileen <emcnaughton@wikimedia.org>
Wed, 10 Jul 2019 00:24:44 +0000 (12:24 +1200)
commit397100ce0c82df57bf8f7124e439c4aa5bd2c534
treef99bbda63cb73c1d8d47c552f3f84ef7b7fa173a
parentd82acabe3b0f6906d19c438354bcb87d46924a75
 [REF] [export] remove chunk of non-functional code

I worked through this & groups is only available as a return property from contact export so can only be hit from there.

However, the search string has a very specific format - involving parentheses - that is NOT present in the from
clause as currently calculated

      case 'civicrm_group_contact':
        return " $side JOIN civicrm_group_contact ON contact_a.id = civicrm_group_contact.contact_id ";

I don't kmow if there is some bug that if this worked it would fix or not but the original bug
it addressed referred to an old query format we don't use https://issues.civicrm.org/jira/browse/CRM-3618 now.

If there is a bug this won't change it & if we identify it we can add tests & fix properly
CRM/Export/BAO/Export.php