From 0113d2e9c9ff34a6ffb10707cc76d34b67a0c367 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 19 Jan 2026 16:29:41 +0000
Subject: [PATCH] =Refactored window.getTemplate into a full templating class window.jvbTemplates. Refactored CRUD.js, UploadManager.js, FormController.js, PopulateForm.js with that in mind
---
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