mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
Remove unused
This commit is contained in:
parent
18bd00c697
commit
9b270e5696
2 changed files with 1 additions and 3 deletions
|
@ -740,7 +740,7 @@ if ( cartHasSubscriptionProducts( config.scriptData ) ) {
|
|||
}
|
||||
|
||||
if ( block_enabled ) {
|
||||
if ( (config.placeOrderEnabled || config.usePlaceOrder) && ! config.scriptData.continuation ) {
|
||||
if ( config.placeOrderEnabled && ! config.scriptData.continuation ) {
|
||||
let descriptionElement = (
|
||||
<div
|
||||
dangerouslySetInnerHTML={ { __html: config.description } }
|
||||
|
|
|
@ -267,8 +267,6 @@ class PayPalPaymentMethod extends AbstractPaymentMethodType {
|
|||
'placeOrderEnabled' => $place_order_enabled,
|
||||
'fundingSource' => $this->session_handler->funding_source(),
|
||||
'finalReviewEnabled' => $this->final_review_enabled,
|
||||
'addPlaceOrderMethod' => $this->add_place_order_method,
|
||||
'usePlaceOrder' => $this->use_place_order,
|
||||
'placeOrderButtonText' => $this->place_order_button_text,
|
||||
'placeOrderButtonDescription' => $this->place_order_button_description,
|
||||
'enabledFundingSources' => $funding_sources,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue