close cursor after select to avoid db lock
This commit is contained in:
parent
d23df4cba7
commit
81e3787f9c
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue