From a24a06002081ad71a78ffeff9072725ba39cf121 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 17 Feb 2026 20:05:31 +0000
Subject: [PATCH] =minor changes, particularly around the JVB_CHILD_URL pattern
---
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