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

feat: Get first existing gravatar of all emails of the contact #1703

Merged
merged 6 commits into from
Aug 15, 2018

Conversation

asbiin
Copy link
Member

@asbiin asbiin commented Aug 15, 2018

Add ability to get gravatar, not for the first email, but for every emails: first gravatar detected is returned.

*
* @param int $size
* @return string|bool
*/
public function getGravatar($size)
{
$email = $this->getFirstEmail();
$emails = $this->contactFields()
Copy link
Member

Choose a reason for hiding this comment

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

This is basically the content of getFirstEmail method.
This method is now not used anywhere in the app.

Copy link
Member Author

Choose a reason for hiding this comment

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

Indeed. Do you wish to remove it?

Copy link
Member

Choose a reason for hiding this comment

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

Yes, if it isn't used...

@asbiin asbiin merged commit beb5a81 into master Aug 15, 2018
@asbiin asbiin deleted the feat/first-gravatar-of-all-emails branch August 28, 2018 14:47
@github-actions
Copy link

github-actions bot commented Feb 2, 2021

This pull request has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants