Beispiel #1
0
 /**
  * @param int $iUserId
  * @param mixed $mGroupsId
  * @return bool
  */
 public function deleteGroup($iUserId, $mGroupsId)
 {
     $bResult = false;
     if ($this->oConnection->Execute($this->oCommandCreator->deleteGroups($iUserId, array($mGroupsId)))) {
         $bResult = true;
         $this->oConnection->Execute($this->oCommandCreator->ClearContactsIdsByGroupsIds(array($mGroupsId)));
     }
     return $bResult;
 }