From 05251bd5a172e53723977a72fb253a540e2c53cd Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 20 Oct 2006 05:00:16 +0000 Subject: [PATCH] Prepare object with fixAttributesOnRemove before removing. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4904 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/groups/class_groupMail.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/admin/groups/class_groupMail.inc b/plugins/admin/groups/class_groupMail.inc index 20a421455..801ebd7c7 100644 --- a/plugins/admin/groups/class_groupMail.inc +++ b/plugins/admin/groups/class_groupMail.inc @@ -616,13 +616,13 @@ class mailgroup extends plugin if ($this->initially_was_account){ $method= new $this->method($this->config); + $method->fixAttributesOnRemove($this); if ($method->connect($this->gosaMailServer) && $this->remove_folder_from_imap){ /* Remove account from IMAP server */ $method->deleteMailbox($this->uid); $method->disconnect(); } - $method->fixAttributesOnRemove($this); } /* Keep uid */ unset ($this->attrs['uid']); -- 2.30.2