Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcdcb5c8

Browse files
committed
fix flash message generation
1 parent7314d35 commitcdcb5c8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎service_container.rst‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,6 @@ made. To do that, you create a new class::
366366
'Someone just updated the site. We told them: '.$happyMessage
367367
);
368368
$this->mailer->send($message);
369-
370-
return $happyMessage;
371369
}
372370
}
373371

@@ -381,8 +379,8 @@ you can use the service immediately::
381379
{
382380
// ...
383381

384-
$message = $siteUpdateManager->notifyOfSiteUpdate();
385-
$this->addFlash('success',$message);
382+
$siteUpdateManager->notifyOfSiteUpdate();
383+
$this->addFlash('success','Notification mail was sent successfully.');
386384
// ...
387385
}
388386

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp