Skip to content
Permalink
Browse files

Session: removed workaround for PHP bug #61470

- related to 683c1bb
- fixed in 7.0 php/php-src@e930429
  • Loading branch information...
dg committed Mar 13, 2019
1 parent be4275a commit fb79e6645f70979bea343d1d49e5b63f719def35
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/Http/Session.php
@@ -213,10 +213,6 @@ public function regenerateId(): void
throw new Nette\InvalidStateException('Cannot regenerate session ID after HTTP headers have been sent' . ($file ? " (output started at $file:$line)." : '.'));
}
session_regenerate_id(true);
session_write_close();
$backup = $_SESSION;
session_start();
$_SESSION = $backup;
} else {
session_id(session_create_id());
}

0 comments on commit fb79e66

Please sign in to comment.
You can’t perform that action at this time.