-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged PR 48049: Refactor getRequest() in EmailCapturePlugin
## What's being changed A plugin to a controller in the Email module. ## Why it's being changed - Using `$this->getRequest()` in controllers is not allowed - we have to use `$context->getRequest()`. ## How to review / test this change - Put a breakpoint in the plugin - Start a chat - Enter an email in the newsletter input - After submit the email should be picked up in the plugin via an AJAX request Related work items: #223644
- Loading branch information
Showing
2 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters