From ba1e1ccf869b818f7a7a897264dfea05563a7796 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 07 Jun 2026 20:10:20 +0000
Subject: [PATCH] =Major overhaul of Integrations. Playing around with adding fields to post types through Registrar from an integrations' class file.
---
inc/managers/Notifications/Notifications.php | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/inc/managers/Notifications/Notifications.php b/inc/managers/Notifications/Notifications.php
index 4700c1d..61ee88c 100644
--- a/inc/managers/Notifications/Notifications.php
+++ b/inc/managers/Notifications/Notifications.php
@@ -46,8 +46,8 @@
]
]);
}
- $contentTax = Registrar::getFeatured('is_content', 'term');
- $verifyEntry = Registrar::getFeatured('verify_entry', 'term');
+ $contentTax = Registrar::withFeature('is_content', 'term');
+ $verifyEntry = Registrar::withFeature('verify_entry', 'term');
if (!empty(array_intersect($contentTax, $verifyEntry))) {
$types = array_merge($types, [
'entry_requested' => [
@@ -69,7 +69,7 @@
]
]);
}
- $invitable = Registrar::getFeatured('invitable');
+ $invitable = Registrar::withFeature('invitable');
if (!empty($invitable)) {
$types = array_merge($types, [
'invitation_requested' => [
@@ -97,12 +97,12 @@
]);
}
- $approvals = Registrar::getFeatured('approve_new');
+ $approvals = Registrar::withFeature('approve_new');
if (!empty($approvals)) {
$tmp = ['user', 'term', 'post'];
$app = [];
foreach ($tmp as $t) {
- $approvals = Registrar::getFeatured('approve_new', $t);
+ $approvals = Registrar::withFeature('approve_new', $t);
if (!empty($approvals)) {
$app = array_merge($app, [
$t.'_new' => [
--
Gitblit v1.10.0