summaryrefslogtreecommitdiffstats
path: root/apps/oauth2/lib
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-05-05 10:35:25 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-05-05 10:35:25 +0200
commit99f2fa73d1c386a6aa9c5464c576ac4a9d086ea4 (patch)
tree599c0fc8c90251104092a365d0d461b0c0e06a07 /apps/oauth2/lib
parent865661ed75a542245abcc6639adee769a13267d0 (diff)
downloadnextcloud-server-99f2fa73d1c386a6aa9c5464c576ac4a9d086ea4.tar.gz
nextcloud-server-99f2fa73d1c386a6aa9c5464c576ac4a9d086ea4.zip
Fix usage of rename executeUpdate
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/oauth2/lib')
-rw-r--r--apps/oauth2/lib/Db/AccessTokenMapper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/oauth2/lib/Db/AccessTokenMapper.php b/apps/oauth2/lib/Db/AccessTokenMapper.php
index 79c1ecefd95..a15b1d2a3b3 100644
--- a/apps/oauth2/lib/Db/AccessTokenMapper.php
+++ b/apps/oauth2/lib/Db/AccessTokenMapper.php
@@ -77,6 +77,6 @@ class AccessTokenMapper extends QBMapper {
$qb
->delete($this->tableName)
->where($qb->expr()->eq('client_id', $qb->createNamedParameter($id, IQueryBuilder::PARAM_INT)));
- $qb->executeUpdate();
+ $qb->executeStatement();
}
}