Пример #1
0
 /**
  * Delete record in backend 
  * 
  * @param t41_Data_Object $do
  * @return boolean
  */
 public function delete(t41_Data_Object $do)
 {
     // @todo add a try/catch block
     return (bool) $this->_ressource->delete($do->getUri()->getIdentifier());
 }
 /**
  * Delete a user from the LDAP if he/she wants to be removed from the SURFconext platform
  *
  * @param string $collabPersonId
  * @return void
  */
 public function deleteUser($collabPersonId)
 {
     $dn = $this->_buildUserDn($collabPersonId);
     $this->_ldapClient->delete($dn, false);
 }