Simplify input params on OptionValue::addOptionValue
authoreileen <emcnaughton@wikimedia.org>
Wed, 4 Jul 2018 08:09:03 +0000 (20:09 +1200)
committereileen <emcnaughton@wikimedia.org>
Wed, 4 Jul 2018 08:58:03 +0000 (20:58 +1200)
commitff62528042292809a54ca46d1efe4b6cb3195a6d
tree16ae33b9c47eabc98ba4e81914de1771acecbc3f
parentc66b6cb99f4b9013cd1c77a87b44da9525fe6502
Simplify input params on OptionValue::addOptionValue

The addOptionValue function is one we should probably deprecate/ remove but towards that we should
start to remove it. This commit removes some complexity by passing option_group_name rather than
groupParams - which is a more accurate reflection of usage and removes ambiguity around the passing
by reference
CRM/Admin/Form/Options.php
CRM/Campaign/Form/SurveyType.php
CRM/Core/OptionValue.php
CRM/Report/Form/Register.php
api/v3/ActivityType.php