Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[DI] fix flash message generation#8339

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
javiereguiluz merged 2 commits intosymfony:3.3fromxabbuh:pr-8224
Jan 4, 2018
Merged

Conversation

@xabbuh
Copy link
Member

->addPart(
'Someone just updated the site. We told them: '.$happyMessage
);
$this->mailer->send($message);
Copy link
Member

Choose a reason for hiding this comment

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

What about returningreturn $this->mailer->send($message) > 0; and only adding a success flash message if it was indeed succesfull ?

@javiereguiluzjaviereguiluz merged commitcba0478 intosymfony:3.3Jan 4, 2018
javiereguiluz added a commit that referenced this pull requestJan 4, 2018
This PR was merged into the 3.3 branch.Discussion----------[DI] fix flash message generationsee#8224 (comment)Commits-------cba0478 Refactored the codecdcb5c8 fix flash message generation
@xabbuhxabbuh deleted the pr-8224 branchJanuary 4, 2018 13:18
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@wouterjwouterjwouterj left review comments

Assignees

No one assigned

Projects

None yet

Milestone

3.3

Development

Successfully merging this pull request may close these issues.

4 participants

@xabbuh@wouterj@javiereguiluz@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp