123         $usr_ids = $this->http_wrapper->post()->retrieve(
   126                 $this->refinery->kindlyTo()->listOf($this->
refinery->kindlyTo()->int()),
   131         if ($usr_ids === []) {
   132             $this->tpl->setOnScreenMessage(
'failure', $this->
lng->txt(
'frm_moderators_select_at_least_one'));
   133             $this->
ctrl->redirect($this, 
'showModerators');
   136         $entries = $this->oForumModerators->getCurrentModerators();
   137         if (count($usr_ids) === count($entries)) {
   138             $this->tpl->setOnScreenMessage(
'failure', $this->
lng->txt(
'frm_at_least_one_moderator'));
   139             $this->
ctrl->redirect($this, 
'showModerators');
   143         $obj_id = $frm_properties->getObjId();
   144         $notificaton_type = $frm_properties->getNotificationType();
   145         $is_membersip_enabled_parent = $this->forum->isParentMembershipEnabledContainer();
   149         $participants_result = $need_participants
   150             ? new \ILIAS\Data\Result\Ok($this->forum->parentParticipants())
   151             : 
new \
ILIAS\Data\Result\
Error(
"Participants not required for ref_id {$this->forum->getRefId()}");
   153         foreach ($usr_ids as $usr_id) {
   154             $this->oForumModerators->detachModeratorRole($usr_id);
   155             $participants_result->map(
function (
ilParticipants $participants) use ($tmp_frm_noti, $usr_id, $obj_id) {
   157                     $tmp_frm_noti->setUserId($usr_id);
   158                     $tmp_frm_noti->setForumId($obj_id);
   159                     $tmp_frm_noti->deleteAdminForce();
   164         $this->tpl->setOnScreenMessage(
'success', $this->
lng->txt(
'frm_moderators_detached_role_successfully'), 
true);
   165         $this->
ctrl->redirect($this, 
'showModerators');
 Class ChatMainBarProvider . 
 
isAssigned(int $a_usr_id)
check if user is assigned 
 
Class ilForumNotification. 
 
static _lookupObjId(int $ref_id)
 
static getInstance(int $a_obj_id=0)
 
Base class for course and group participants.