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

Use new checkPermissions shorthand in api calls #17874

Merged
merged 1 commit into from
Jul 17, 2020

Conversation

colemanw
Copy link
Member

Overview

This does a simple find/replace to update internal api calls to use the new shorthand from #17834.

Before

Foo::get()->setCheckPermissions(FALSE)...

After

Foo::get(FALSE)...

Comments

This doesn't update every single instance but I wanted to keep the regex simple & safe.

@civibot
Copy link

civibot bot commented Jul 17, 2020

(Standard links)

@civibot civibot bot added the master label Jul 17, 2020
@colemanw
Copy link
Member Author

Adding has-test because the majority of files updated in this PR are tests.

@seamuslee001 seamuslee001 merged commit 19dc865 into civicrm:master Jul 17, 2020
@seamuslee001 seamuslee001 deleted the checkPermShort branch July 17, 2020 23:12
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