Removing obsolete code
This commit is contained in:
parent
bca6bc7375
commit
6b7cc782d2
|
@ -339,7 +339,6 @@ class WC_Gateway_Paypal_IPN_Handler extends WC_Gateway_Paypal_Response {
|
|||
$mailer = WC()->mailer();
|
||||
$message = $mailer->wrap_message( $subject, $message );
|
||||
|
||||
$ipn_notification = 'yes';
|
||||
$woocommerce_paypal_settings = get_option('woocommerce_paypal_settings');
|
||||
if ( ! empty( $woocommerce_paypal_settings['ipn_notification'] ) && 'no' === $woocommerce_paypal_settings['ipn_notification'] ) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue