From 9d4a17cc936ee72098c626ab46f2ea636a3ae950 Mon Sep 17 00:00:00 2001 From: John Rayes Date: Wed, 3 Jun 2026 05:17:21 -0700 Subject: [PATCH] Deprecate hooks without standard prefixes --- Sources/Actions/Who.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Sources/Actions/Who.php b/Sources/Actions/Who.php index ced23c786e9..684ed180a60 100644 --- a/Sources/Actions/Who.php +++ b/Sources/Actions/Who.php @@ -376,6 +376,9 @@ public static function determineActions(mixed $urls, string|bool $preferred_pref return []; } + IntegrationHook::call('integrate_who_allowed', [&self::$allowedActions]); + + // This hook is depreated because it is missing the corerct prefix. IntegrationHook::call('who_allowed', [&self::$allowedActions]); if (!\is_array($urls)) { @@ -642,6 +645,9 @@ public static function determineActions(mixed $urls, string|bool $preferred_pref Db::$db->free_result($result); } + IntegrationHook::call('integrate_whos_online_after', [&$url_list, &$data]); + + // This hook is depreated because it is missing the corerct prefix. IntegrationHook::call('whos_online_after', [&$urls, &$data]); if (!\is_array($urls)) {