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;