REF - Switch to using new `CRM_Core_Component::isEnabled()`
authorColeman Watts <coleman@civicrm.org>
Wed, 2 Feb 2022 23:29:30 +0000 (18:29 -0500)
committerColeman Watts <coleman@civicrm.org>
Wed, 2 Feb 2022 23:29:30 +0000 (18:29 -0500)
commite46f73c78374b79e61bff9ce7a47696843703415
tree5b676d54e6fbe6b383872e188051f59b8c0fade3
parent97bd997b7ac492ab990b4fc8acb6c7948fc692d9
REF - Switch to using new `CRM_Core_Component::isEnabled()`

Switches more verbose array searches to the new utility function.
36 files changed:
CRM/Activity/BAO/Activity.php
CRM/Activity/Task.php
CRM/Admin/Form/Options.php
CRM/Campaign/BAO/Campaign.php
CRM/Case/BAO/Case.php
CRM/Contact/BAO/Contact.php
CRM/Contribute/Form/Contribution.php
CRM/Contribute/Form/Contribution/Confirm.php
CRM/Contribute/Form/Contribution/Main.php
CRM/Contribute/Form/ContributionBase.php
CRM/Contribute/Form/ContributionPage/Amount.php
CRM/Contribute/Page/ContributionPage.php
CRM/Contribute/StateMachine/ContributionPage.php
CRM/Core/BAO/Dashboard.php
CRM/Core/BAO/Navigation.php
CRM/Core/BAO/UFGroup.php
CRM/Core/Block.php
CRM/Core/Component/Info.php
CRM/Core/Form/ShortCode.php
CRM/Core/Permission.php
CRM/Event/Form/ManageEvent.php
CRM/Mailing/Info.php
CRM/Report/Form.php
CRM/Report/Form/Activity.php
CRM/Report/Page/InstanceList.php
CRM/Report/Page/TemplateList.php
CRM/Upgrade/Incremental/php/FiveFortySeven.php
CRM/Upgrade/Incremental/php/FiveThirteen.php
CRM/Upgrade/Incremental/php/FiveTwenty.php
CRM/Utils/Check/Component/Env.php
Civi/Api4/RelationshipCache.php
Civi/Api4/Service/Spec/SpecGatherer.php
ext/legacycustomsearches/CRM/Contact/Form/Search/Custom/FullText/Case.php
ext/legacycustomsearches/CRM/Contact/Form/Search/Custom/FullText/Contribution.php
ext/legacycustomsearches/CRM/Contact/Form/Search/Custom/FullText/Membership.php
ext/legacycustomsearches/CRM/Contact/Form/Search/Custom/FullText/Participant.php