From 8b82035f3f8be1462a7125ad7eafb990ca17fa94 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sat, 07 Feb 2026 17:37:23 +0000
Subject: [PATCH] =Port over to jakevan

---
 inc/managers/CRUDManager.php |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/inc/managers/CRUDManager.php b/inc/managers/CRUDManager.php
index 2b62d88..cec8688 100644
--- a/inc/managers/CRUDManager.php
+++ b/inc/managers/CRUDManager.php
@@ -14,7 +14,7 @@
  */
 class CRUD {
 	protected CRUDSkeleton $skeleton;
-	protected CacheManager $cache;
+	protected Cache $cache;
 	protected array $config;
 	protected string $content;
 	protected array $taxonomies = [];
@@ -39,10 +39,10 @@
 		$this->user_id = get_current_user_id();
 		$this->config = $this->constant[$content];
 		$this->content = $content;
-		$this->cache = CacheManager::for($content);
+		$this->cache = Cache::for('crud')->connect('post')->connect('taxonomy');
 
 		if (JVB_TESTING) {
-			$this->cache->clear();
+			$this->cache->flush();
 		}
 
 		// Create and configure skeleton
@@ -63,8 +63,6 @@
 			);
 
 		// Initialize meta
-		$this->skeleton->initMeta($this->type, $this->content);
-
 		$this->skeleton->addSearch();
 
 		// Timeline if applicable

--
Gitblit v1.10.0