From c06013234d16ab3889bd7fce09f6606b45fd2b9f Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Thu, 01 Jan 2026 23:38:14 +0000
Subject: [PATCH] Merge branch 'main' of https://github.com/jakevdwerf/jvb
---
inc/rest/routes/OptionsRoutes.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/inc/rest/routes/OptionsRoutes.php b/inc/rest/routes/OptionsRoutes.php
index af77ddb..ebf18d6 100644
--- a/inc/rest/routes/OptionsRoutes.php
+++ b/inc/rest/routes/OptionsRoutes.php
@@ -109,8 +109,8 @@
do_action('jvbOptionsRoute', $data);
- $cache = new CacheManager('options', 1800);
- $cache::invalidateGroup('options');
+ $cache = CacheManager::for('options', 1800);
+ $cache->invalidate();
return [
'success' => true,
'result' => $results
--
Gitblit v1.10.0