mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-26 21:54:16 +01:00
Refactor away useless else { } wrap.
This commit is contained in:
parent
9869bfe84d
commit
60d1e7e302
@ -274,8 +274,7 @@ class SyncLib
|
||||
$this->log(LOG_CRIT, 'failed to update internal DB with new counters');
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
if ($this->db->rowCount() > 0)
|
||||
$this->log(LOG_INFO, 'updated database ', $params);
|
||||
else
|
||||
@ -283,7 +282,6 @@ class SyncLib
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user