diff --git a/Sources/Actions/Who.php b/Sources/Actions/Who.php index ced23c786e..684ed180a6 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)) {