protected function MongodbSessionHandler::removeSession in MongoDB 8
Remove a session from the database.
1 call to MongodbSessionHandler::removeSession()
- MongodbSessionHandler::destroy in mongodb_user/
src/ MongodbSessionHandler.php
File
- mongodb_user/
src/ MongodbSessionHandler.php, line 169 - Contains \Drupal\mongodb_user\MongodbSessionHandler.
Class
Namespace
Drupal\mongodb_userCode
protected function removeSession($sid) {
$this
->mongoCollection()
->remove([
'sid' => Crypt::hashBase64($sid),
]);
}