From 0afb2c0046b55c123eafb4ab9ee77efa68d12463 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sat, 06 Jun 2026 17:15:31 +0000
Subject: [PATCH] =Starting the Favourites.js setup, converting previous Northeh stuff to new Registrar, fixing up Square.php integration to match

---
 inc/registrar/config/Integration.php |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/inc/registrar/config/Integration.php b/inc/registrar/config/Integration.php
index 8723e71..a25324d 100644
--- a/inc/registrar/config/Integration.php
+++ b/inc/registrar/config/Integration.php
@@ -2,7 +2,7 @@
 namespace JVBase\registrar\config;
 
 use JVBase\registrar\Registrar;
-use JVBase\utility\Features;
+use JVBase\base\Site;
 
 if (!defined('ABSPATH')) {
 	exit;
@@ -31,7 +31,7 @@
 
 
 	public function __construct(string $service) {
-		if (!Features::hasIntegration($service)) {
+		if (!Site::hasIntegration($service)) {
 			error_log('Could not link with integration, as it is not enabled: '.$service);
 			return;
 		}
@@ -47,9 +47,9 @@
 	 * @param string $content must match what integration expects
 	 * @return self
 	 */
-	public function setContent_type(string $content):self
+	public function setContentType(string $content):self
 	{
-		$allowed = JVB()->connect($this->service_name)->allowedContent();
+		$allowed = JVB()->connect($this->service_name)->getAllowedContent();
 		if (!in_array($content, $allowed)) {
 			error_log($this->service_name.' Connection does not support this content: '.$content);
 			return $this;

--
Gitblit v1.10.0