summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d2465d3)
raw | patch | inline | side by side (parent: d2465d3)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 12 Jul 2005 08:36:33 +0000 (08:36 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 12 Jul 2005 08:36:33 +0000 (08:36 +0000) |
plugins/personal/mail/class_mailAccount.inc | patch | blob | history |
diff --git a/plugins/personal/mail/class_mailAccount.inc b/plugins/personal/mail/class_mailAccount.inc
index 6f5fc7e1c557c10e917b9be5ea6c642da5f1297e..9eb98f676efc6b57dfa1d136c1e816170f88dadc 100644 (file)
$id= $method->uattrib;
$method->fixAttributesOnStore($this);
+ if(empty($this->attrs['gosaSpamMailbox'])){
+ unset($this->attrs['gosaSpamMailbox']);
+ }
+
/* Save data to LDAP */
$ldap->cd($this->dn);
$ldap->modify($this->attrs);
$message[]= _("You need to set the maximum mail size in order to reject anything.");
}
+ if((preg_match("/S/", $this->gosaMailDeliveryMode))&&(empty($this->gosaSpamMailbox))) {
+ $message[]= _("You specified Spam settings, but there is no Folder specified.");
+ }
+
return ($message);
}