Permit modified_id as a parameter for membership create api
authoreileen <emcnaughton@wikimedia.org>
Mon, 30 Dec 2019 04:06:06 +0000 (17:06 +1300)
committereileen <emcnaughton@wikimedia.org>
Thu, 2 Jan 2020 07:00:55 +0000 (20:00 +1300)
commit6dbee28b471580735ccbb989ba5cab89ae80c30d
tree1daef54d0f13586b32971928a237acbbd0566059
parent4b4e71f07572a1b33d83f2e0daab16ecb40d030d
Permit modified_id as a parameter for membership create api

Adding a membership create api parameter makes this accessible via the api and also allows us to deprecate & remove
the  array. Note this PR does nothing at the api level to make it available - it just takes advantage of apiv3 passing params
through to the BAO. The support is added in the BAO. However, I think we should add formal apiv4 support for modified_id
as a parameter for Membership.create - only issue is that of course it's not a 'real' param so we need to discuss /
understand how that needs to look. In general I think there are a few BAO that store modified_id
CRM/Member/BAO/Membership.php
tests/phpunit/CRM/Member/BAO/MembershipLogTest.php