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

Correctly mark updateStatusMessage method as static #22335

Merged
merged 1 commit into from
Dec 28, 2021

Conversation

braders
Copy link
Contributor

@braders braders commented Dec 28, 2021

Overview

Correctly mark updateStatusMessage method as static

Before

CRM/Event/Form/Participant.php contains the following code, despite updateStatusMessage not being static:

$updateStatusMsg = CRM_Event_BAO_Participant::updateStatusMessage($this->_id,
  $params['status_id'],
  $this->_statusId
);

The updateStatusMessage method is not used elsewhere in CiviCRM core.

After

The updateStatusMessage method is marked as static. This is consistent with other methods in the CRM_Event_BAO_Participant class.

@civibot
Copy link

civibot bot commented Dec 28, 2021

(Standard links)

@civibot civibot bot added the master label Dec 28, 2021
@demeritcowboy demeritcowboy merged commit 67a24a0 into civicrm:master Dec 28, 2021
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