mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-09-01 21:27:06 +00:00
Reduce number of ops
This commit is contained in:
+3
-3
@@ -399,10 +399,10 @@ class Curl
|
||||
}
|
||||
$this->errorMessage = $this->curlError ? $this->curlErrorMessage : $this->httpErrorMessage;
|
||||
|
||||
if (!$this->error) {
|
||||
$this->call($this->successFunction);
|
||||
} else {
|
||||
if ($this->error) {
|
||||
$this->call($this->errorFunction);
|
||||
} else {
|
||||
$this->call($this->successFunction);
|
||||
}
|
||||
|
||||
$this->call($this->completeFunction);
|
||||
|
||||
Reference in New Issue
Block a user