mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-01 01:52:18 +01:00
Refactor.
- remove unnecessary else {} wrapper.
This commit is contained in:
parent
b76ffc313f
commit
54dfc6edb6
@ -187,8 +187,7 @@ class DbImpl extends Db
|
||||
$this->closeCursor($result);
|
||||
return $row;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
$collection = array();
|
||||
|
||||
while($row = $this->fetchArray($result))
|
||||
@ -198,7 +197,6 @@ class DbImpl extends Db
|
||||
|
||||
return $collection;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* main function used to delete rows by multiple key=>value pairs from Db table.
|
||||
|
Loading…
x
Reference in New Issue
Block a user