From 48721c85ebcfa973ee81719d2467ca80e4253dc9 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Fri, 01 May 2026 17:30:03 +0000
Subject: [PATCH] =Edmonton Ink hard test begins! Real testing of the managers and reset routes will commence. So far, just ensuring our classes are all loaded correctly: Site() and its sub-classes Membership, Login, etc. Care should be taken to load conditionally on 'init', as we finish defining most settings by 'plugins_loaded' at priority 5
---
inc/registrar/helpers/AddIntegrationFields.php | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/inc/registrar/helpers/AddIntegrationFields.php b/inc/registrar/helpers/AddIntegrationFields.php
index fde540d..29fe741 100644
--- a/inc/registrar/helpers/AddIntegrationFields.php
+++ b/inc/registrar/helpers/AddIntegrationFields.php
@@ -3,7 +3,7 @@
use JVBase\registrar\config\Integration;
use JVBase\registrar\Registrar;
-use JVBase\utility\Features;
+use JVBase\base\Site;
if (!defined('ABSPATH')) {
exit;
@@ -32,22 +32,22 @@
protected function initAllowed():void
{
$allowed = [];
- if (Features::hasIntegration('gmb')) {
+ if (Site::hasIntegration('gmb')) {
$allowed['gmb'] = 'Google My Business';
}
- if (Features::hasIntegration('facebook')) {
+ if (Site::hasIntegration('facebook')) {
$allowed['facebook'] = 'Facebook';
}
- if (Features::hasIntegration('square')) {
+ if (Site::hasIntegration('square')) {
$allowed['square'] = 'Square';
}
- if (Features::hasIntegration('instagram')) {
+ if (Site::hasIntegration('instagram')) {
$allowed['instagram'] = 'Instagram';
}
- if (Features::hasIntegration('bluesky')) {
+ if (Site::hasIntegration('bluesky')) {
$allowed['bluesky'] = 'BlueSky';
}
- if (Features::hasIntegration('helcim')) {
+ if (Site::hasIntegration('helcim')) {
$allowed['helcim'] = 'Helcim';
}
$this->allowed = $allowed;
--
Gitblit v1.10.0