From a1e140cbe0521d2ae4462ab97a5179e474b8924d Mon Sep 17 00:00:00 2001 From: "Larry E. Masters" Date: Mon, 28 Dec 2015 23:26:58 -0500 Subject: [PATCH] Removing check for set key --- lib/Cake/Model/Datasource/CakeSession.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/Cake/Model/Datasource/CakeSession.php b/lib/Cake/Model/Datasource/CakeSession.php index 35c55e1ef..1cf5b6135 100644 --- a/lib/Cake/Model/Datasource/CakeSession.php +++ b/lib/Cake/Model/Datasource/CakeSession.php @@ -468,9 +468,7 @@ class CakeSession { session_start(); } session_destroy(); - if (isset($_COOKIE[static::_cookieName()])) { - unset($_COOKIE[static::_cookieName()]); - } + unset($_COOKIE[static::_cookieName()]); } $_SESSION = null;