From: hickert Date: Fri, 20 Oct 2006 05:00:16 +0000 (+0000) Subject: Prepare object with fixAttributesOnRemove before removing. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=05251bd5a172e53723977a72fb253a540e2c53cd;p=gosa.git Prepare object with fixAttributesOnRemove before removing. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4904 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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']);