deleteAcl() public method

Delete the access rights for user on a folder.
public deleteAcl ( string $folder, string $user ) : null
$folder string The folder to act upon.
$user string The user to delete the ACL for
return null
Example #1
0
 /**
  * Delete the access rights for user on a folder.
  *
  * @param string $folder  The folder to act upon.
  * @param string $user    The user to delete the ACL for
  *
  * @return NULL
  */
 public function deleteAcl($folder, $user)
 {
     $this->_timer->push();
     parent::deleteAcl($folder, $user);
     $this->_logger->debug(sprintf('REQUEST OUT IMAP: %s ms [deleteAcl]', floor($this->_timer->pop() * 1000)));
 }
Example #2
0
 /**
  * Delete the access rights for user on a folder.
  *
  * @param string $folder  The folder to act upon.
  * @param string $user    The user to delete the ACL for
  *
  * @return NULL
  */
 public function deleteAcl($folder, $user)
 {
     $this->_logger->debug(sprintf('Driver "%s": Deleting ACL for user %s on folder %s.', $this->getDriverName(), $user, $folder));
     parent::deleteAcl($folder, $user);
     $this->_logger->debug(sprintf('Driver "%s": Successfully deleted ACL on folder %s.', $this->getDriverName(), $folder));
 }