mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-01 01:52:18 +01:00
Refactor.
- gmdate(, $x) already defaults to time()
This commit is contained in:
parent
b1df4deaf1
commit
069660e4ef
@ -242,7 +242,7 @@ function sendResp($status, $logger, $apiKey = '', $extra = null) {
|
|||||||
|
|
||||||
// 2008-11-21T06:11:55Z0711
|
// 2008-11-21T06:11:55Z0711
|
||||||
$t = substr(microtime(false), 2, 3);
|
$t = substr(microtime(false), 2, 3);
|
||||||
$t = gmdate('Y-m-d\TH:i:s\Z0', time()) . $t;
|
$t = gmdate('Y-m-d\TH:i:s\Z0') . $t;
|
||||||
|
|
||||||
$a['t'] = $t;
|
$a['t'] = $t;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user