diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-05-31 22:56:26 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-18 22:11:55 +0200 |
commit | 9e7a95fe58ee8ace0ae30ff2ebda993018542187 (patch) | |
tree | 09f31b9e28ff4052d82254c87cba342aa9979b98 /lib/private/Authentication/Token/PublicKeyTokenMapper.php | |
parent | 1999f7ce7bd438f9b545fff8956ea4ed24d3dc8d (diff) | |
download | nextcloud-server-9e7a95fe58ee8ace0ae30ff2ebda993018542187.tar.gz nextcloud-server-9e7a95fe58ee8ace0ae30ff2ebda993018542187.zip |
Add more tests
* Add a lot of tests
* Fixes related to those tests
* Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Authentication/Token/PublicKeyTokenMapper.php')
-rw-r--r-- | lib/private/Authentication/Token/PublicKeyTokenMapper.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Authentication/Token/PublicKeyTokenMapper.php b/lib/private/Authentication/Token/PublicKeyTokenMapper.php index 30349fba31a..23982c6ba09 100644 --- a/lib/private/Authentication/Token/PublicKeyTokenMapper.php +++ b/lib/private/Authentication/Token/PublicKeyTokenMapper.php @@ -166,5 +166,7 @@ class PublicKeyTokenMapper extends QBMapper { ->where($qb->expr()->eq('type', $qb->createNamedParameter(IToken::TEMPORARY_TOKEN))) ->andWhere($qb->expr()->neq('id', $qb->createNamedParameter($except->getId()))) ->andWhere($qb->expr()->eq('version', $qb->createNamedParameter(2, IQueryBuilder::PARAM_INT))); + + $qb->execute(); } } |