ActionMapping - Clean up obtuse methods of fetching a MappingInterface class
authorcolemanw <coleman@civicrm.org>
Tue, 18 Jul 2023 14:46:14 +0000 (10:46 -0400)
committercolemanw <coleman@civicrm.org>
Tue, 18 Jul 2023 17:13:15 +0000 (13:13 -0400)
commitd270be1cdf239c896a9aebd3f36526039cf8c672
treef8004cb17d07dc40b5e9fb2a28e709260663f2ff
parent4b21d3176873009151736a62ef5c04886bde4381
ActionMapping - Clean up obtuse methods of fetching a MappingInterface class

Changed calls to getMappings to use getMapping if they only needed a single value.
In some cases they could be entirely removed because they weren't using the retrieved class for anything.
Deprecated the use of 'filters' param in getMappings as it was redundant with simply calling getMapping with an id.
CRM/Admin/Form/ScheduleReminders.php
CRM/Core/BAO/ActionSchedule.php
CRM/Event/BAO/Event.php
CRM/Event/Form/ManageEvent/ScheduleReminders.php
CRM/Event/Form/ManageEvent/TabHeader.php
CRM/Event/Page/ManageEvent.php