Skip to content
Permalink
Browse files

Removing check for set key

  • Loading branch information...
phpnut committed Dec 29, 2015
1 parent a966e46 commit a1e140cbe0521d2ae4462ab97a5179e474b8924d
Showing with 1 addition and 3 deletions.
  1. +1 −3 lib/Cake/Model/Datasource/CakeSession.php
@@ -468,9 +468,7 @@ public static function destroy() {
session_start();
}
session_destroy();
if (isset($_COOKIE[static::_cookieName()])) {
unset($_COOKIE[static::_cookieName()]);
}
unset($_COOKIE[static::_cookieName()]);
}
$_SESSION = null;

0 comments on commit a1e140c

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