Skip to content

Commit

Permalink
Remove unsetting of request flash session key
Browse files Browse the repository at this point in the history
No need to unset it.
  • Loading branch information
lukemorton committed Mar 11, 2014
1 parent 446dcbe commit 5c7ed80
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Lily/Middleware/Flash.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ public function __invoke($handler)
return function ($request) use ($handler) {
if (isset($request['session']['_flash'])) {
$request['flash'] = $request['session']['_flash'];
unset($request['session']['_flash']);
}

$response = $handler($request);
Expand Down

0 comments on commit 5c7ed80

Please sign in to comment.