Skip to content
This repository has been archived by the owner on Oct 29, 2020. It is now read-only.

Applies bounce rate fix to international branch #5850

Merged
merged 3 commits into from
Nov 30, 2015

Conversation

sergiitk
Copy link
Contributor

Closes #5846.

Use Drupal’s `hook_user_login` and `hook_user_insert` to add custom
events to the following page load on login/registration.
This makes more sense, since hook_insert_user seems to be
intended more for database-related changes. I've also split
message broker logic into a new "private" method for better
readability.
Login AND registration both previously used the
`dosomething_user_login_submit` hook, which was confusing at first
glance. This shuffles things around to have a shared `authentication`
submit handler, and a unique `login` handler for the login form.
@DFurnes
Copy link
Contributor

DFurnes commented Nov 30, 2015

Looks good to me! 👍

sergiitk added a commit that referenced this pull request Nov 30, 2015
Applies bounce rate fix to international branch
@sergiitk sergiitk merged commit dd285e6 into DoSomethingArchive:intl-sites Nov 30, 2015
@sergiitk sergiitk deleted the intl-sites-5846 branch November 30, 2015 16:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants