From e9967fa22781d922ba4eb8fb44fe72d200ac4b14 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 10 Nov 2025 21:04:10 +0000
Subject: [PATCH] =IconsManager.php update
---
inc/rest/routes/FormRoutes.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/inc/rest/routes/FormRoutes.php b/inc/rest/routes/FormRoutes.php
index 0e5cfd2..198e702 100644
--- a/inc/rest/routes/FormRoutes.php
+++ b/inc/rest/routes/FormRoutes.php
@@ -30,7 +30,7 @@
{
parent::__construct();
$this->action = 'form-';
- $this->cache = new CacheManager('form_submissions', HOUR_IN_SECONDS);
+ $this->cache = CacheManager::for('forms', HOUR_IN_SECONDS);
// Initialize Cloudflare Turnstile if available
$this->turnstile = class_exists('JVBase\managers\CloudflareTurnstile') && jvbSiteUsesCloudflare()
@@ -159,7 +159,7 @@
}
// Store submission data temporarily for success display
- $this->cache->set('submission_' . $form_id, $processed_data, HOUR_IN_SECONDS);
+ $this->cache->set('submission_' . $form_id, $processed_data);
// Log successful submission
$this->recordSubmission($_SERVER['REMOTE_ADDR'], $processed_data['email'] ?? '');
--
Gitblit v1.10.0