Skip to content

Commit

Permalink
Removing check for set key
Browse files Browse the repository at this point in the history
  • Loading branch information
phpnut committed Dec 29, 2015
1 parent a966e46 commit a1e140c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/Cake/Model/Datasource/CakeSession.php
Expand Up @@ -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;
Expand Down

0 comments on commit a1e140c

Please sign in to comment.