1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-02-20 12:54:23 +01:00

Cosmetic changes.

This commit is contained in:
Jean Paul Galea 2015-07-17 23:25:52 +02:00
parent afc81e484a
commit 9869bfe84d

View File

@ -256,7 +256,8 @@ class SyncLib
public function updateDbCounters($params)
{
if (isset($params['yk_publicname'])) {
if (isset($params['yk_publicname']))
{
$condition = '('.$params['yk_counter'].'>yk_counter or ('.$params['yk_counter'].'=yk_counter and ' . $params['yk_use'] . '>yk_use))';
$arr = array(
@ -276,7 +277,7 @@ class SyncLib
else
{
if ($this->db->rowCount() > 0)
$this->log(LOG_INFO, "updated database ", $params);
$this->log(LOG_INFO, 'updated database ', $params);
else
$this->log(LOG_INFO, 'database not updated', $params);