From 3baf3d2545ba6ece6b74a64c0def59bd0774cf54 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Wed, 10 Jun 2026 16:34:12 +0000
Subject: [PATCH] =Laid the groundwork for an improved DashboardManager.php setup. Have to put it aside so I can get the dang Northeh done though.
---
inc/registrar/helpers/MakeTimelineType.php | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/inc/registrar/helpers/MakeTimelineType.php b/inc/registrar/helpers/MakeTimelineType.php
index 84ea959..f8e2e49 100644
--- a/inc/registrar/helpers/MakeTimelineType.php
+++ b/inc/registrar/helpers/MakeTimelineType.php
@@ -12,11 +12,9 @@
class MakeTimelineType {
protected string $slug;
protected string $postType;
- protected Registrar $registrar;
- public function __construct(string $slug, Registrar $registrar) {
+ public function __construct(string $slug) {
$this->slug = $slug;
$this->postType = jvbCheckBase($slug);
- $this->registrar = $registrar;
add_action('template_redirect', [$this, 'redirectChildToParent']);
}
--
Gitblit v1.10.0