summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9661305)
raw | patch | inline | side by side (parent: 9661305)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 10 May 2006 10:52:26 +0000 (10:52 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 10 May 2006 10:52:26 +0000 (10:52 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3267 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_mail-methods-cyrus.inc | patch | blob | history |
index e1becdae95add284773e002467c6e61937bc35bf..76e3908ea9b778ece293100f952ef15ef968e143 100644 (file)
/* Remove all acl's for this folder */
$users= @imap_getacl ($this->mbox, $subfolder);
- foreach ($users as $userid => $perms){
- imap_setacl ($this->mbox, $subfolder, $userid, "");
+ if(is_array($users)){
+ 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."));