mirror of
https://github.com/nextcloud/server.git
synced 2026-04-29 18:11:41 -04:00
Merge pull request #25174 from owncloud/tokenmapper-close-cursor
close cursor after loading a token
This commit is contained in:
commit
e2b0a0f18f
1 changed files with 1 additions and 0 deletions
|
|
@ -77,6 +77,7 @@ class DefaultTokenMapper extends Mapper {
|
|||
->execute();
|
||||
|
||||
$data = $result->fetch();
|
||||
$result->closeCursor();
|
||||
if ($data === false) {
|
||||
throw new DoesNotExistException('token does not exist');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue