You are here

function persistent_login_cron in Persistent Login 8

Same name and namespace in other branches
  1. 5 persistent_login.module \persistent_login_cron()
  2. 6 persistent_login.module \persistent_login_cron()
  3. 7 persistent_login.module \persistent_login_cron()

Implements hook_cron().

File

./persistent_login.module, line 51
Contains persistent_login.module.

Code

function persistent_login_cron() {
  \Drupal::service('persistent_login.token_manager')
    ->cleanupExpiredTokens();
}