diff --git a/Sources/Who.php b/Sources/Who.php index b9b5012a80..b1dd620a0b 100644 --- a/Sources/Who.php +++ b/Sources/Who.php @@ -315,6 +315,9 @@ function determineActions($urls, $preferred_prefix = false) 'viewerrorlog' => array('admin_forum'), 'viewmembers' => array('moderate_forum'), ); + call_integration_hook('integrate_who_allowed', array(&$allowedActions)); + + // This hook is depreated because it is missing the corerct prefix. call_integration_hook('who_allowed', array(&$allowedActions)); if (!is_array($urls)) @@ -560,6 +563,9 @@ function determineActions($urls, $preferred_prefix = false) $smcFunc['db_free_result']($result); } + call_integration_hook('integrate_whos_online_after', array(&$url_list, &$data)); + + // This hook is depreated because it is missing the corerct prefix. call_integration_hook('whos_online_after', array(&$urls, &$data)); if (!is_array($urls))