Skip to content

Commit 47fd0a8

Browse files
committed
Remove deprecated curl_close
This function is deprecated as of php 8.0 and does nothing. See https://www.php.net/manual/en/function.curl-close.php
1 parent 9b165f3 commit 47fd0a8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Civi/Twingle/Shop/CurlWrapper.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ public function getinfo($ch, $option) {
2525
return curl_getinfo($ch, $option);
2626
}
2727

28-
public function close($ch) {
29-
curl_close($ch);
30-
}
28+
public function close($ch) {}
3129

3230
}

0 commit comments

Comments
 (0)