Skip to content

Commit 079bcd6

Browse files
authored
Merge pull request #676 from laravel/fix/broken-session-set-container-l
[1.x] Reverts #669
2 parents 66d46b3 + 2018389 commit 079bcd6

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/Listeners/GiveNewApplicationInstanceToSessionManager.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,6 @@ class GiveNewApplicationInstanceToSessionManager
1212
*/
1313
public function handle($event): void
1414
{
15-
if (! $event->sandbox->resolved('session')) {
16-
return;
17-
}
18-
19-
with($event->sandbox->make('session'), function ($manager) use ($event) {
20-
if (method_exists($manager, 'setContainer')) {
21-
$manager->setContainer($event->sandbox);
22-
}
23-
});
15+
//
2416
}
2517
}

0 commit comments

Comments
 (0)