1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-02-26 21:54:16 +01:00

Refactor.

- $status is always set in invocation, and never to null.
This commit is contained in:
Jean Paul Galea 2015-07-17 00:34:14 +02:00
parent c258997f51
commit ba82acf79b

View File

@ -246,10 +246,6 @@ function KSMdecryptOTP($urls, $logger, $curlopts) {
}
function sendResp($status, $logger, $apiKey = '', $extra = null) {
if ($status == null) {
$status = S_BACKEND_ERROR;
}
$a['status'] = $status;
$a['t'] = getUTCTimeStamp();