mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Merge pull request #110 from utopia-php/codex/remove-curl-close-php85
Remove deprecated curl_close calls
This commit is contained in:
1 file changed
-2
@@ -80,8 +80,6 @@ class ReCaptcha extends Adapter
|
||||
/** @var array<string, mixed> $result */
|
||||
$result = \json_decode((string) \curl_exec($ch), true);
|
||||
|
||||
//close connection
|
||||
\curl_close($ch);
|
||||
if ($result['success'] && $result['score'] >= $score) {
|
||||
return true;
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user