You are here

function miniorange_2fa_cron in Google Authenticator / 2 Factor Authentication - 2FA 8.2

Fetch license whenever cron run and keep remaining transactions upto date so that user can see those

File

./miniorange_2fa.module, line 181
Module file for miniOrange 2FA Module.

Code

function miniorange_2fa_cron() {
  $customer = new MoAuthCustomerSetup();
  $from_state = '';
  $customer
    ->mo_auth_fetch_customer_license('', $from_state, 'CRON');
}