From ccf5e61a075c35d24befc175994b5cb8957ca322 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Wed, 26 Aug 2026 21:45:53 +0000
Subject: [PATCH] =Extra JVB() calls replaced, minor tweaks
---
inc/managers/Dashboard/DashboardPage.php | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/inc/managers/Dashboard/DashboardPage.php b/inc/managers/Dashboard/DashboardPage.php
index bc0c040..af4145c 100644
--- a/inc/managers/Dashboard/DashboardPage.php
+++ b/inc/managers/Dashboard/DashboardPage.php
@@ -24,10 +24,8 @@
protected Cache $cache;
public function __construct(string $title, string $slug = '', string $icon ='', int $parent = 0) {
- $this->cache = Cache::for('dashboard');
- if (JVB_TESTING) {
- $this->cache->flush();
- }
+ $this->cache = Cache::for('dash_pages');
+
$this->title = $title;
$this->setSlug(empty($slug) ? $title : $slug);
$this->icon = $icon;
--
Gitblit v1.10.0