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:
parent
9869bfe84d
commit
60d1e7e302
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user