Skip to content

Commit 71036c0

Browse files
authored
Merge pull request #62411 from nextcloud/backport/62408/stable32
[stable32] fix(CleanupLoginTokens): Specify the table
2 parents 10fd6fd + 76b014f commit 71036c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/User/BackgroundJobs/CleanupLoginTokens.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ protected function run($argument): void {
3030
$rememberMeMaxAge = $this->config->getSystemValueInt('remember_login_cookie_lifetime', 60 * 60 * 24 * 15);
3131
$qb = $this->connection->getQueryBuilder();
3232
$qb
33-
->delete()
33+
->delete('preferences')
3434
->where($qb->expr()->eq('appid', $qb->expr()->literal('login_token')))
3535
->andWhere($qb->expr()->lt('configvalue', $qb->createNamedParameter(time() - $rememberMeMaxAge)))
3636
->executeStatement();

0 commit comments

Comments
 (0)