aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_status/lib
diff options
context:
space:
mode:
authorGit'Fellow <12234510+solracsf@users.noreply.github.com>2024-10-17 15:42:21 +0200
committerGit'Fellow <12234510+solracsf@users.noreply.github.com>2024-10-17 20:30:47 +0200
commita1681b0756ef784ef7056a3aae3e569a6dcae00e (patch)
tree13ad313771c95cfba750ca3f21048341c0e75105 /apps/user_status/lib
parent40fd76f69e601ab5579e8ce9b81318d3924dd463 (diff)
downloadnextcloud-server-a1681b0756ef784ef7056a3aae3e569a6dcae00e.tar.gz
nextcloud-server-a1681b0756ef784ef7056a3aae3e569a6dcae00e.zip
chore(db): Apply query prepared statementsdbQueriesExecStmt2
Fix: psalm fix: bad file fix: bug chore: add batch chore: add batch chore: add batch fix: psalm
Diffstat (limited to 'apps/user_status/lib')
-rw-r--r--apps/user_status/lib/Db/UserStatusMapper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_status/lib/Db/UserStatusMapper.php b/apps/user_status/lib/Db/UserStatusMapper.php
index c98f0bf817f..feeb2904fb5 100644
--- a/apps/user_status/lib/Db/UserStatusMapper.php
+++ b/apps/user_status/lib/Db/UserStatusMapper.php
@@ -126,7 +126,7 @@ class UserStatusMapper extends QBMapper {
$qb->expr()->eq('status', $qb->createNamedParameter(IUserStatus::ONLINE))
));
- $qb->execute();
+ $qb->executeStatement();
}
/**
@@ -140,7 +140,7 @@ class UserStatusMapper extends QBMapper {
->where($qb->expr()->isNotNull('clear_at'))
->andWhere($qb->expr()->lte('clear_at', $qb->createNamedParameter($timestamp, IQueryBuilder::PARAM_INT)));
- $qb->execute();
+ $qb->executeStatement();
}