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

Refactor away useless else { } wrap.

This commit is contained in:
Jean Paul Galea 2015-07-17 23:27:43 +02:00
parent 9869bfe84d
commit 60d1e7e302

View File

@ -274,8 +274,7 @@ class SyncLib
$this->log(LOG_CRIT, 'failed to update internal DB with new counters'); $this->log(LOG_CRIT, 'failed to update internal DB with new counters');
return false; return false;
} }
else
{
if ($this->db->rowCount() > 0) if ($this->db->rowCount() > 0)
$this->log(LOG_INFO, 'updated database ', $params); $this->log(LOG_INFO, 'updated database ', $params);
else else
@ -283,7 +282,6 @@ class SyncLib
return true; return true;
} }
}
return false; return false;
} }