From f710a06ea0700f3955a167197d8e4cd54cd1092b Mon Sep 17 00:00:00 2001 From: arunshenoy99 Date: Wed, 11 Jan 2023 12:28:52 +0530 Subject: [PATCH] handle switching to the new customer data module --- includes/Data/Data.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/Data/Data.php b/includes/Data/Data.php index cb640b845..f481d3730 100644 --- a/includes/Data/Data.php +++ b/includes/Data/Data.php @@ -2,7 +2,7 @@ namespace NewfoldLabs\WP\Module\Onboarding\Data; use NewfoldLabs\WP\Module\Onboarding\Permissions; -use Bluehost\WP\Data\Customer; +use NewfoldLabs\WP\Module\CustomerBluehost\CustomerBluehost; /** * CRUD methods for Onboarding config for use in API, CLI and runtime. @@ -103,8 +103,8 @@ public static function current_flow() { * @return array */ public static function customer_data() { - if ( class_exists( 'Bluehost\WP\Data\Customer' ) ) { - return Customer::collect(); + if ( class_exists( 'NewfoldLabs\WP\Module\CustomerBluehost\CustomerBluehost' ) ) { + return CustomerBluehost::collect(); } return array(); }