Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
e2b0a0f1
Commit
e2b0a0f1
authored
Jun 20, 2016
by
Vincent Petry
Committed by
GitHub
Jun 20, 2016
Browse files
Merge pull request #25174 from owncloud/tokenmapper-close-cursor
close cursor after loading a token
parents
01041045
b0f2878f
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/private/Authentication/Token/DefaultTokenMapper.php
View file @
e2b0a0f1
...
...
@@ -77,6 +77,7 @@ class DefaultTokenMapper extends Mapper {
->
execute
();
$data
=
$result
->
fetch
();
$result
->
closeCursor
();
if
(
$data
===
false
)
{
throw
new
DoesNotExistException
(
'token does not exist'
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment