mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-31 04:34:27 +00:00
Clean up
This commit is contained in:
+1
-2
@@ -1099,8 +1099,7 @@ class Curl
|
||||
if ($this->retryDecider === null) {
|
||||
$attempt_retry = $this->remainingRetries >= 1;
|
||||
} else {
|
||||
$func = $this->retryDecider;
|
||||
$attempt_retry = $func($this);
|
||||
$attempt_retry = call_user_func($this->retryDecider, $this);
|
||||
}
|
||||
if ($attempt_retry) {
|
||||
$this->retries += 1;
|
||||
|
||||
Reference in New Issue
Block a user