plugin/buycourses/src/Requests/Transport/cURL.php 1 location
|
@@ 259-261 (lines=3) @@
|
| 256 |
|
curl_multi_remove_handle($multihandle, $done['handle']); |
| 257 |
|
curl_close($done['handle']); |
| 258 |
|
|
| 259 |
|
if (!is_string($responses[$key])) { |
| 260 |
|
$options['hooks']->dispatch('multiple.request.complete', array(&$responses[$key], $key)); |
| 261 |
|
} |
| 262 |
|
$completed++; |
| 263 |
|
} |
| 264 |
|
} |
plugin/buycourses/src/Requests/Transport/fsockopen.php 1 location
|
@@ 315-317 (lines=3) @@
|
| 312 |
|
$responses[$id] = $e; |
| 313 |
|
} |
| 314 |
|
|
| 315 |
|
if (!is_string($responses[$id])) { |
| 316 |
|
$request['options']['hooks']->dispatch('multiple.request.complete', array(&$responses[$id], $id)); |
| 317 |
|
} |
| 318 |
|
} |
| 319 |
|
|
| 320 |
|
return $responses; |