From 2127b1bdd73ecd2423e443992da4b442f5a3c1a3 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Wed, 04 Feb 2026 21:19:25 +0000
Subject: [PATCH] =Major overhaul of MetaManager.php -> Meta.php and RestRouteManager.php -> Rest.php. Seems to work for JakeVan

---
 inc/integrations/Umami.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/inc/integrations/Umami.php b/inc/integrations/Umami.php
index 0fa280b..3c89b76 100644
--- a/inc/integrations/Umami.php
+++ b/inc/integrations/Umami.php
@@ -1,7 +1,7 @@
 <?php
 namespace JVBase\integrations;
 
-use JVBase\managers\CacheManager;
+use JVBase\managers\Cache;
 use WP_Error;
 use WP_Post;
 use Exception;
@@ -677,7 +677,7 @@
 		if ($data) {
 			// Clear cache for today
 			$cache_key = md5("analytics_{$today}_{$today}");
-			$this->cache->delete($cache_key);
+			$this->cache->forget($cache_key);
 
 			return [
 				'success' => true,

--
Gitblit v1.10.0