protected function TfaTrustedBrowser::setUsed in TFA Basic plugins 7
Updated browser last used time.
Parameters
int $did: Internal browser ID to update.
1 call to TfaTrustedBrowser::setUsed()
File
- includes/
tfa_trusted_browser.inc, line 127 - classes for TFA basic plugin
Class
- TfaTrustedBrowser
- Class TfaTrustedBrowser
Code
protected function setUsed($did) {
$record = array(
'did' => $did,
'last_used' => REQUEST_TIME,
);
drupal_write_record('tfa_trusted_browser', $record, 'did');
}