From d1dffcc1191cc649ddd2922c68588ed89c426b77 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 22 Jun 2005 11:05:16 +0000 Subject: [PATCH] Removed warnings about non existing getacl functions git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@800 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_mail-methods-cyrus.inc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/include/class_mail-methods-cyrus.inc b/include/class_mail-methods-cyrus.inc index 15c3c53c3..fa2f09699 100644 --- a/include/class_mail-methods-cyrus.inc +++ b/include/class_mail-methods-cyrus.inc @@ -136,12 +136,6 @@ class mailMethodCyrus extends mailMethod 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; @@ -156,6 +150,8 @@ class mailMethodCyrus extends mailMethod 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 */ -- 2.30.2