Skip to content

[stable12] Don't send emails to disabled users#202

Merged
nickvergessen merged 3 commits intostable12from
backport-181--no-emails-for-disabled-users
Oct 11, 2017
Merged

[stable12] Don't send emails to disabled users#202
nickvergessen merged 3 commits intostable12from
backport-181--no-emails-for-disabled-users

Conversation

@nickvergessen
Copy link
Member

No description provided.

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
$deleteItemsForUsers = [];
$this->activityManager->setRequirePNG(true);
foreach ($affectedUsers as $user) {
if (isset($userEnabled[$user]) && $userEnabled[$user] === 'no') {
Copy link
Member

Choose a reason for hiding this comment

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

For me this was set to "false":

bildschirmfoto 2017-09-28 um 17 49 38

Copy link
Member

Choose a reason for hiding this comment

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

🙌 to type safety ...

Copy link
Member Author

Choose a reason for hiding this comment

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

argl

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen
Copy link
Member Author

Master follow up #208

@nickvergessen nickvergessen merged commit b6874ac into stable12 Oct 11, 2017
@nickvergessen nickvergessen deleted the backport-181--no-emails-for-disabled-users branch October 11, 2017 09:52
@MorrisJobke MorrisJobke mentioned this pull request Nov 20, 2017
1 task
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