Commit e2b0a0f1 authored by Vincent Petry's avatar Vincent Petry Committed by GitHub
Browse files

Merge pull request #25174 from owncloud/tokenmapper-close-cursor

close cursor after loading a token
parents 01041045 b0f2878f
......@@ -77,6 +77,7 @@ class DefaultTokenMapper extends Mapper {
->execute();
$data = $result->fetch();
$result->closeCursor();
if ($data === false) {
throw new DoesNotExistException('token does not exist');
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment