This addon allows you to easily Promote and Demote users from outside of the ACP.
Now you can finally give your Moderators the right to change a user's group without having to give them full rights to edit the user. You also don't need to sign into the ACP all the time.
I'm fairly sure you want to check the key name (ie url), not the actual action param value (ie the url itself).
protected function getActionPhraseParams(ModeratorLog $log)
$pather = \XF::app()['request.pather'];
$params = $log->action_params;
foreach ($params AS $key => $param)