Skip to content

Commit

Permalink
Merge pull request #676 from laravel/fix/broken-session-set-container-l
Browse files Browse the repository at this point in the history
[1.x] Reverts #669
  • Loading branch information
nunomaduro authored Apr 4, 2023
2 parents 66d46b3 + 2018389 commit 079bcd6
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/Listeners/GiveNewApplicationInstanceToSessionManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@ class GiveNewApplicationInstanceToSessionManager
*/
public function handle($event): void
{
if (! $event->sandbox->resolved('session')) {
return;
}

with($event->sandbox->make('session'), function ($manager) use ($event) {
if (method_exists($manager, 'setContainer')) {
$manager->setContainer($event->sandbox);
}
});
//
}
}

0 comments on commit 079bcd6

Please sign in to comment.