You are here

public function MongodbSessionHandler::destroy in MongoDB 8

Overrides SessionHandler::destroy

File

mongodb_user/src/MongodbSessionHandler.php, line 147
Contains \Drupal\mongodb_user\MongodbSessionHandler.

Class

MongodbSessionHandler

Namespace

Drupal\mongodb_user

Code

public function destroy($sid) {
  $this
    ->removeSession($sid);
  return parent::destroy($sid);
}