Removing check for set key

This commit is contained in:
Larry E. Masters 2015-12-28 23:26:58 -05:00
parent a966e46545
commit a1e140cbe0

View file

@ -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;