protected function MongodbSessionHandler::cleanupObsoleteSessions in MongoDB 8
Remove sessions marked for garbage collection.
1 call to MongodbSessionHandler::cleanupObsoleteSessions()
- MongodbSessionHandler::write in mongodb_user/
src/ MongodbSessionHandler.php
File
- mongodb_user/
src/ MongodbSessionHandler.php, line 176 - Contains \Drupal\mongodb_user\MongodbSessionHandler.
Class
Namespace
Drupal\mongodb_userCode
protected function cleanupObsoleteSessions() {
array_walk($this->obsoleteSessionIds, [
$this,
'removeSession',
]);
}