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

APIv4 - Minor code cleanup to improve efficiency in CreateApi4RequestSubscriber #21775

Merged
merged 1 commit into from
Oct 9, 2021

Conversation

colemanw
Copy link
Member

@colemanw colemanw commented Oct 8, 2021

Overview

Minor cleanup following on to #21771

Before

Unnecessary call to class_exists() for custom entities.

After

Removed.

Comments

Sometimes leaving a bit of mess behind like this can lead to cleanup-hesitancy down the road because no one is sure if it was done on purpose. It wasn't, so let's clean it up now.

…Subscriber

There is no need to check if class_exists() for custom entities.
@civibot
Copy link

civibot bot commented Oct 8, 2021

(Standard links)

@civibot civibot bot added the master label Oct 8, 2021
@colemanw colemanw merged commit 3daebb7 into civicrm:master Oct 9, 2021
@colemanw colemanw deleted the api4CreateRequestEvent2 branch October 9, 2021 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants