[REF] Extract transferParticipantRegistration function
authoreileen <emcnaughton@wikimedia.org>
Sat, 4 Apr 2020 01:24:35 +0000 (14:24 +1300)
committereileen <emcnaughton@wikimedia.org>
Sat, 4 Apr 2020 01:24:35 +0000 (14:24 +1300)
commit4720af1a09517b8178996cb3a554718e7ec25559
treea06adff70b2c9e62b212f4c93d426eedeb976eca
parent9fcbec07d5485df2e4292ef3b92f3d536fbedee9
[REF] Extract transferParticipantRegistration function

This is the extraction portion of https://github.com/civicrm/civicrm-core/pull/16956/

On testing that I hit  an error but getting the extraction merged first should make it easierr
to review future iterations as it  will reduce noise in the code.

Note I made the  function non-static since it is still on the form & passed in
event ID since we have it but it's otherwise pretty much the same as the
extraction part of that PR
CRM/Event/Form/SelfSvcTransfer.php
tests/phpunit/CRM/Event/Form/ParticipantTest.php