@@ -189,8 +189,7 @@ |
||
189 | 189 | |
190 | 190 | if ( ! empty($server) && ! $this->setIPAServer($server) ) { |
191 | 191 | throw new \Exception("Error while validating the server"); |
192 | - } |
|
193 | - else if ( ! empty($certificate) && ! $this->setCertificateFile($certificate) ) { |
|
192 | + } else if ( ! empty($certificate) && ! $this->setCertificateFile($certificate) ) { |
|
194 | 193 | throw new \Exception("Error while validating the certificate"); |
195 | 194 | } |
196 | 195 |