mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-18 23:49:55 +00:00
Revert "Added TestCakeSession::clear() to CakeSessionTest teardown."
This reverts commit b346ac961c
.
This commit is contained in:
parent
b346ac961c
commit
68e4e0e7ae
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
*/
|
*/
|
||||||
public function teardown() {
|
public function teardown() {
|
||||||
if (TestCakeSession::started()) {
|
if (TestCakeSession::started()) {
|
||||||
TestCakeSession::clear();
|
session_write_close();
|
||||||
}
|
}
|
||||||
unset($_SESSION);
|
unset($_SESSION);
|
||||||
parent::teardown();
|
parent::teardown();
|
||||||
|
|
Loading…
Add table
Reference in a new issue