Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REF] Components - Use extracted function #22573

Merged
merged 1 commit into from
Jan 19, 2022

Conversation

colemanw
Copy link
Member

Overview

Refactors code to use function extracted in #22567 by @eileenmcnaughton

@civibot
Copy link

civibot bot commented Jan 19, 2022

(Standard links)

@civibot civibot bot added the master label Jan 19, 2022
@@ -26,7 +26,7 @@ class CRM_Upgrade_Incremental_php_FiveFortyThree extends CRM_Upgrade_Incremental
* @param null $currentVer
*/
public function setPreUpgradeMessage(&$preUpgradeMessage, $rev, $currentVer = NULL): void {
if ($rev === '5.43.alpha1' && !empty(CRM_Core_Component::getEnabledComponents()['CiviCase'])) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one was the most creative

@eileenmcnaughton eileenmcnaughton merged commit 7474dfb into civicrm:master Jan 19, 2022
@eileenmcnaughton eileenmcnaughton deleted the componentFn branch January 19, 2022 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants