mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 04:53:26 +00:00
Fix #1705 : MySQL connection might be lost after long operations
This commit is contained in:
@@ -1009,6 +1009,7 @@ class databox extends base
|
||||
unset($e);
|
||||
}
|
||||
}
|
||||
$stmt->closeCursor();
|
||||
|
||||
$user->ACL()->give_access_to_base($base_ids);
|
||||
foreach ($base_ids as $base_id) {
|
||||
@@ -1022,8 +1023,6 @@ class databox extends base
|
||||
);
|
||||
}
|
||||
|
||||
$stmt->closeCursor();
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user