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

CRM-20910: Check permission param while retrieving participants from api #10698

Merged
merged 2 commits into from
Jul 28, 2017

Conversation

jitendrapurohit
Copy link
Contributor

@jitendrapurohit jitendrapurohit commented Jul 19, 2017

@jitendrapurohit
Copy link
Contributor Author

jenkins, retest this please

@monishdeb
Copy link
Member

Jenkins test this please

$checkPermission = TRUE;
if (!empty($query->_skipPermission)) {
$checkPermission = FALSE;
}
Copy link
Member

Choose a reason for hiding this comment

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

This could be written in 1 line:

$checkPermission = empty($query->_skipPermission);

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated 👍

@jitendrapurohit
Copy link
Contributor Author

jitendrapurohit commented Jul 26, 2017

How do I change the status of this PR as I've updated the changes that were requested.

@colemanw colemanw merged commit 95effa7 into civicrm:master Jul 28, 2017
@jitendrapurohit jitendrapurohit deleted the CRM-20910 branch July 29, 2017 05:14
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.

4 participants