From 2a2303d1dccc120dd7aa5f6b6ade0f89e0064850 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 25 Nov 2025 07:42:23 +0000
Subject: [PATCH] =Feed block mostly good! Referrals look good to go. Ready for Madi and Heidi to approve

---
 JVBase.php |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/JVBase.php b/JVBase.php
index 8894d0c..04bb699 100644
--- a/JVBase.php
+++ b/JVBase.php
@@ -109,14 +109,14 @@
 			'login'			=> new LoginRoutes(),
 			'integrations'	=> new IntegrationsRoutes(),
 		];
-        if (jvbSiteUsesFeedBlock()) {
+        if (Features::forSite()->has('feed_block')) {
             $this->routes['feed'] = new FeedRoutes();
         }
         if (jvbSiteHasNotifications()) {
 			$this->managers['notifications'] = new NotificationManager();
             $this->routes['notifications'] = new NotificationsRoutes();
         }
-        if (jvbSiteUsesFeedBlock() || jvbSiteHasDashboard()) {
+        if (Features::forSite()->has('feed_block') || jvbSiteHasDashboard()) {
             $this->routes['term'] = new TermRoutes();
         }
 
@@ -263,7 +263,6 @@
 
     public function activate():void
     {
-        error_log('Activate!');
         // Activate roles - will be properly initialized after post types are registered
         $this->roles()->activate();
     }

--
Gitblit v1.10.0