Skip to content

Commit 7c5ebbb

Browse files
authored
Update MerchantConfiguration.php
1 parent 1033415 commit 7c5ebbb

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

lib/Authentication/Core/MerchantConfiguration.php

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -770,16 +770,6 @@ public static function validateMerchantData($config)
770770
}
771771
}
772772

773-
if(empty($config->getCurlProxyHost())){
774-
$warning_message .= GlobalParameter::INVALID_PROXY_URL.GlobalParameter::DEFAULT_PROXY_URL;
775-
$config = $config->setCurlProxyHost(GlobalParameter::DEFAULT_PROXY_URL);
776-
}
777-
778-
if(empty($config->getCurlProxyPort())){
779-
$warning_message .= GlobalParameter::INVALID_PROXY_PORT.GlobalParameter::DEFAULT_PROXY_PORT;
780-
$config = $config->setCurlProxyPort(GlobalParameter::DEFAULT_PROXY_PORT);
781-
}
782-
783773
if(empty($config->getKeyAlias()) && $config->getAuthenticationType() == GlobalParameter::JWT){
784774

785775
$warning_message .= GlobalParameter::KEY_ALIAS_NULL_EMPTY;
@@ -832,4 +822,4 @@ public static function validateMerchantData($config)
832822

833823
}
834824

835-
?>
825+
?>

0 commit comments

Comments
 (0)