diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-06-20 09:54:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-20 09:54:15 +0200 |
commit | e2b0a0f18fdcae58c2db4d863dd230a219c64174 (patch) | |
tree | c305a62ad5e9d31f5f94c15691887c082c8dfe33 /lib | |
parent | 01041045dae9f70b83d757496a3107ed186be346 (diff) | |
parent | b0f2878f6e06512f9e325374bd2cc9ca64143875 (diff) | |
download | nextcloud-server-e2b0a0f18fdcae58c2db4d863dd230a219c64174.tar.gz nextcloud-server-e2b0a0f18fdcae58c2db4d863dd230a219c64174.zip |
Merge pull request #25174 from owncloud/tokenmapper-close-cursor
close cursor after loading a token
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Authentication/Token/DefaultTokenMapper.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Authentication/Token/DefaultTokenMapper.php b/lib/private/Authentication/Token/DefaultTokenMapper.php index c56a513b94c..9450ed6b9f3 100644 --- a/lib/private/Authentication/Token/DefaultTokenMapper.php +++ b/lib/private/Authentication/Token/DefaultTokenMapper.php @@ -77,6 +77,7 @@ class DefaultTokenMapper extends Mapper { ->execute(); $data = $result->fetch(); + $result->closeCursor(); if ($data === false) { throw new DoesNotExistException('token does not exist'); } |