Minor cleanup

This commit is contained in:
Vlad Olaru 2024-09-19 13:03:04 +03:00
parent d6f1cce424
commit 51033673ca
No known key found for this signature in database
1 changed files with 1 additions and 3 deletions

View File

@ -4,8 +4,6 @@
namespace Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks;
use Automattic\WooCommerce\Admin\Features\Features;
use Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks\Payments;
use Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks\WooCommercePayments;
use Automattic\WooCommerce\Admin\Features\PaymentGatewaySuggestions\Init;
/**
@ -98,7 +96,7 @@ class AdditionalPayments extends Payments {
return $this->can_view_result;
}
// Show task if woocommerce-payments is connected or if there are any suggested gateways in other category enabled.
// Show task if WooPayments is connected or if there are any suggested gateways in other category enabled.
$this->can_view_result = (
WooCommercePayments::is_connected() ||
self::has_enabled_other_category_gateways()