diff options
author | Joas Schilling <coding@schilljs.com> | 2017-07-21 14:44:35 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-08-03 16:39:41 +0200 |
commit | 5d7cab245fa816083ef8e9f69d5f7cb846f94104 (patch) | |
tree | 6da5c31c66b6572612f6958b1508b29283e7a22b /lib/private | |
parent | ee51c49bd7891f95799462b9d90e6f7bf5f0ff46 (diff) | |
download | nextcloud-server-5d7cab245fa816083ef8e9f69d5f7cb846f94104.tar.gz nextcloud-server-5d7cab245fa816083ef8e9f69d5f7cb846f94104.zip |
Fix clob comparison
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/Authentication/Token/DefaultTokenMapper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Authentication/Token/DefaultTokenMapper.php b/lib/private/Authentication/Token/DefaultTokenMapper.php index 44bc553a92e..2038bb5a135 100644 --- a/lib/private/Authentication/Token/DefaultTokenMapper.php +++ b/lib/private/Authentication/Token/DefaultTokenMapper.php @@ -157,7 +157,7 @@ class DefaultTokenMapper extends Mapper { public function deleteByName($name) { $qb = $this->db->getQueryBuilder(); $qb->delete('authtoken') - ->where($qb->expr()->eq('name', $qb->createNamedParameter($name))); + ->where($qb->expr()->eq('name', $qb->createNamedParameter($name, IQueryBuilder::PARAM_LOB), IQueryBuilder::PARAM_LOB)); $qb->execute(); } |