mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 08:16:43 -04:00
Make the DB query simpler (as we just deleted all other entries)
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
3532802a3c
commit
4fe5cef95a
1 changed files with 0 additions and 3 deletions
|
|
@ -82,9 +82,6 @@ class DatabaseBackend implements IBackend {
|
|||
->from(self::TABLE_NAME)
|
||||
->where(
|
||||
$qb->expr()->eq('hash', $qb->createNamedParameter($identifier, IQueryBuilder::PARAM_STR))
|
||||
)
|
||||
->andWhere(
|
||||
$qb->expr()->gte('delete_after', $qb->createNamedParameter($currentTime, IQueryBuilder::PARAM_DATE))
|
||||
);
|
||||
|
||||
$cursor = $qb->executeQuery();
|
||||
|
|
|
|||
Loading…
Reference in a new issue