summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d29732e)
raw | patch | inline | side by side (parent: d29732e)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 22 Jun 2005 11:05:16 +0000 (11:05 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 22 Jun 2005 11:05:16 +0000 (11:05 +0000) |
include/class_mail-methods-cyrus.inc | patch | blob | history |
index 15c3c53c3a8fc128654e31136942f831f6cdea8d..fa2f09699501bbec0e5e464192288ff337ef2e83 100644 (file)
function setSharedFolderPermissions($folder, $permissions)
{
- /* Show warning message in case of missing imap_getacl */
- if (!function_exists('imap_getacl')){
- print_red (_("Warning: imap_getacl is not implemented, wouldn't modify acl informations."));
- return;
- }
-
/* Get list of subfolders */
$folders= $this->getMailboxList($folder, "");
$folders[]= $folder;
foreach ($users as $userid => $perms){
imap_setacl ($this->mbox, $subfolder, $userid, "");
}
+ } else {
+ print_red (_("Warning: imap_getacl is not implemented, can't remove acl informations."));
}
/* Set permissions for this folder */