From 2127b1bdd73ecd2423e443992da4b442f5a3c1a3 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Wed, 04 Feb 2026 21:19:25 +0000
Subject: [PATCH] =Major overhaul of MetaManager.php -> Meta.php and RestRouteManager.php -> Rest.php. Seems to work for JakeVan
---
globals.php | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/globals.php b/globals.php
index 32762da..38b518e 100644
--- a/globals.php
+++ b/globals.php
@@ -311,7 +311,10 @@
function jvbExtractUserContent(array $content):array
{
- $out = [];
+ // Deprecated: Use Features::forUser($role)->getCreatableContent() instead
+ _deprecated_function(__FUNCTION__, '2.0.0', 'Features::forUser($role)->getCreatableContent()');
+
+ $out = [];
foreach ($content as $c) {
if (is_array($c)) {
foreach ($c as $type => $contents) {
--
Gitblit v1.10.0