Beispiel #1
0
 /**
  * @param int $iUserId
  * @param array $aContactsIds
  * @param int $iSharedTenantId = null
  * @return bool
  */
 public function deleteContacts($iUserId, $aContactsIds, $iSharedTenantId = null)
 {
     $bResult = false;
     if ($this->oConnection->Execute($this->oCommandCreator->deleteContacts($iUserId, $aContactsIds, $iSharedTenantId))) {
         $bResult = true;
         $this->oConnection->Execute($this->oCommandCreator->ClearGroupsIdsByContactsIds($aContactsIds));
     }
     return $bResult;
 }