1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-03-03 18:29:18 +01:00

Unwrap function.

This commit is contained in:
Jean Paul Galea 2015-07-16 22:35:34 +02:00
parent 731eed8fa9
commit bc5319327b
2 changed files with 1 additions and 6 deletions

View File

@ -63,11 +63,6 @@ class SyncLib
return $this->isConnected;
}
function UnixToDbTime($unix)
{
return date('Y-m-d H:i:s', $unix);
}
function getClientData($client)
{
$res = $this->db->customQuery("SELECT id, secret FROM clients WHERE active='1' AND id='" . $client . "'");

View File

@ -367,7 +367,7 @@ $seenSessionUse = $localParams['yk_use'];
$ad['high']=$localParams['yk_high'];
$ad['low']=$localParams['yk_low'];
$ad['accessed']=$sync->unixToDbTime($localParams['modified']);
$ad['accessed']=date('Y-m-d H:i:s', $localParams['modified']);
//// Check the time stamp
//