We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ContactEventHandler
IndexAction
1 parent 99a182d commit 87d1ef6Copy full SHA for 87d1ef6
src/framework/event/ContactEventHandler.php
@@ -10,9 +10,6 @@
10
11
final class ContactEventHandler implements BootstrapInterface
12
{
13
- /**
14
- * @param \yii\base\Application $app
15
- */
16
public function bootstrap($app): void
17
18
Event::on(
src/usecase/contact/IndexAction.php
@@ -32,8 +32,6 @@ public function run(): string
32
33
if (is_array($post) && $contactForm->load($post) && $contactForm->validate()) {
34
if ($contactForm->sendContact($this->mailer, $this->controller->module->params)) {
35
- $this->session->setFlash('contactFormSubmitted');
36
-
37
$this->trigger(ContactEvent::EVENT_AFTER_SEND, new ContactEvent());
38
}
39
0 commit comments