From de317675a8069b747cb253ba3e2b5dc394ca36ef Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sat, 18 Jul 2026 21:44:51 +0000
Subject: [PATCH] =Base Integrations mainly done - doing a test with setting up the Square integration to follow
---
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