Minor sql improvements
This commit is contained in:
parent
6fa23b98d3
commit
e726ad42e8
1 changed files with 2 additions and 0 deletions
|
@ -477,6 +477,7 @@
|
|||
$qb->setParameter('seen_timestamp', $timestamp);
|
||||
$qb->where('uuid = :uuid');
|
||||
$qb->setParameter('uuid', $uuid);
|
||||
$qb->setMaxResults(1);
|
||||
|
||||
try
|
||||
{
|
||||
|
@ -671,6 +672,7 @@
|
|||
$qb->delete(DatabaseTables::CLIENTS);
|
||||
$qb->where('uuid = :uuid');
|
||||
$qb->setParameter('uuid', $uuid);
|
||||
$qb->setMaxResults(1);
|
||||
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue