close cursor after select to avoid db lock

This commit is contained in:
Björn Schießle 2016-05-11 16:25:31 +02:00
parent d23df4cba7
commit 81e3787f9c
No known key found for this signature in database
GPG Key ID: 2378A753E2BF04F6
1 changed files with 1 additions and 0 deletions

View File

@ -338,6 +338,7 @@ class Manager {
$share = $getShare->fetch();
$this->sendFeedbackToRemote($share['remote'], $share['share_token'], $share['remote_id'], 'decline');
}
$getShare->closeCursor();
$query = $this->connection->prepare('
DELETE FROM `*PREFIX*share_external`