Skip to content

Commit

Permalink
another fix
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Jun 21, 2023
1 parent a7ed118 commit e81d694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Db/SessionMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public function deleteInactiveWithoutSteps(?int $documentId = null): int {

$qb = $this->db->getQueryBuilder();
$qb->delete($this->getTableName())
->where($qb->expr()->in('id', $qb->createFunction('(' . $selectSubQuery->getSQL() . ')')));
->where($qb->expr()->in('id', $qb->createFunction($selectSubQuery->getSQL())));
$qb->setParameters([
'lastContact' => time() - SessionService::SESSION_VALID_TIME,
'documentId' => $documentId,
Expand Down

0 comments on commit e81d694

Please sign in to comment.