Reduce number of ops

This commit is contained in:
Zach Borboa
2017-04-29 11:25:19 -07:00
parent e0a6112375
commit 13ef3e4ef9
+3 -3
View File
@@ -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);