mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-07 18:54:23 +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);
|
$this->closeCursor($result);
|
||||||
return $row;
|
return $row;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
$collection = array();
|
$collection = array();
|
||||||
|
|
||||||
while($row = $this->fetchArray($result))
|
while($row = $this->fetchArray($result))
|
||||||
@ -198,7 +197,6 @@ class DbImpl extends Db
|
|||||||
|
|
||||||
return $collection;
|
return $collection;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* main function used to delete rows by multiple key=>value pairs from Db table.
|
* main function used to delete rows by multiple key=>value pairs from Db table.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user