Skip to content

Commit dba2f7f

Browse files
committed
Use Util method instead of GetSetting
1 parent 2f212f7 commit dba2f7f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

www/src/Handlers/Account.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ public static function getAccountPage(RequestContext $request_context, string $p
10001000
$results['messages'] = $request_context->getBannerMessageManager()->get();
10011001
$results['support_link'] = Util::getSetting('support_link', 'https://support.catchpoint.com');
10021002
$results['expert_plan'] = [
1003-
'monthly' => GetSetting('expert_monthly_cost', 999)
1003+
'monthly' => Util::getSetting('expert_monthly_cost', 999)
10041004
];
10051005
if (!is_null($error_message)) {
10061006
$results['error_message'] = $error_message;

www/src/Handlers/Signup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static function getStepOne(RequestContext $request_context, array $vars):
3737
$vars['annual_plans'] = $wpt_plans->getAnnualPlans();
3838
$vars['monthly_plans'] = $wpt_plans->getMonthlyPlans();
3939
$vars['expert_plan'] = [
40-
'monthly' => GetSetting('expert_monthly_cost', 999)
40+
'monthly' => Util::getSetting('expert_monthly_cost', 999)
4141
];
4242

4343
$content = $tpl->render('step-1', $vars);

0 commit comments

Comments
 (0)