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

Update sctr email address when user updates account #193

Open
wants to merge 1 commit into
base: pre_release
Choose a base branch
from

Conversation

jlad26
Copy link
Contributor

@jlad26 jlad26 commented Feb 4, 2016

The scenario is this:

  1. A user has an account on a site.
  2. The user makes subscribes to a comment
  3. The user updates their email address in their account profile

At the moment, I think the user's email address is not updated in the subscribe_reloaded_subscribers table, which means that all the notifications are now sent to the wrong email address.

This change uses the 'profile update' hook to update the email address in the subscribe_reloaded_subscribers table.

Tested and seems to work ok.

The scenario is this:
1) A user has an account on a site.
2) The user makes subscribes to a comment
3) The user updates their email address in their account profile

At the moment, I think the user's email address is not updated in the subscribe_reloaded_subscribers table, which means that all the notifications are now sent to the wrong email address.

This change uses the 'profile update' hook to update the email address in the subscribe_reloaded_subscribers table.

Tested and seems to work ok.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant