stable

Clone or download

Read-only

refactor: Use new user data instead of the one of request

Since we've just successfully created a new User, we can use directly its data, instead of calling `$request->get()`. This targets only AfterSuccessfulUserRegistration. There are still leftovers of legacy register.php refactoring elsewhere like in ConfirmationPageDisplayer, but it will be part of a dedicated contribution. No functional changes. Part of story #30021: Invite buddies to my Tuleap project Change-Id: I21b6775e451118acb02896a259d732e527aeb35d

Modified Files

Name
M src/common/User/Account/Register/AfterSuccessfulUserRegistration.php +3 −3 Go to diff View file
M tests/lib/Builders/UserTestBuilder.php +1 −1 Go to diff View file