diff options
author | Christoph Wurst <christoph@owncloud.com> | 2016-06-17 16:13:11 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@owncloud.com> | 2016-06-17 16:13:28 +0200 |
commit | b0f2878f6e06512f9e325374bd2cc9ca64143875 (patch) | |
tree | 3177b9f91da4bd198b2be6f2180ad193e907cc4b /lib/private/Authentication | |
parent | 491e2654ebed82044f84d3adcc5f845dc471ae06 (diff) | |
download | nextcloud-server-b0f2878f6e06512f9e325374bd2cc9ca64143875.tar.gz nextcloud-server-b0f2878f6e06512f9e325374bd2cc9ca64143875.zip |
close cursor after loading a token
Diffstat (limited to 'lib/private/Authentication')
-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'); } |