summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2246062)
raw | patch | inline | side by side (parent: 2246062)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 14 Nov 2006 06:03:21 +0000 (06:03 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 14 Nov 2006 06:03:21 +0000 (06:03 +0000) |
-Fax copy & paste.
-Fax removement
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5092 594d385d-05f5-0310-b6e9-bd551577e9d8
-Fax removement
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5092 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/gofax/faxaccount/class_gofaxAccount.inc | patch | blob | history |
diff --git a/plugins/gofax/faxaccount/class_gofaxAccount.inc b/plugins/gofax/faxaccount/class_gofaxAccount.inc
index 7e9f5e9fe36140c4aaabed2b1b75979627873632..14e6bb223f3c9099094f3b71699a6928107c880b 100644 (file)
var $current_blocklist= array();
/* Copy & paste variables */
- var $CopyPasteVars=array("facsimileTelephoneNumber","goFaxRBlocklist","goFaxRBlockgroups","goFaxSBlocklist","goFaxSBlockgroups");
+ var $CopyPasteVars=array("facsimileTelephoneNumber");//,"goFaxRBlocklist","goFaxRBlockgroups","goFaxSBlocklist","goFaxSBlockgroups");
/* attribute list for save action */
- var $attributes= array("goFaxDeliveryMode", "goFaxIsEnabled","facsimileAlternateTelephoneNumber",
- "goFaxPrinter", "goFaxDivertNumber", "goFaxLanguage", "goFaxFormat", "mail","facsimileTelephoneNumber");
+ var $attributes= array("goFaxDeliveryMode", "goFaxIsEnabled","facsimileAlternateTelephoneNumber","goFaxRBlocklist","goFaxRBlockgroups","goFaxSBlocklist","goFaxSBlockgroups","goFaxPrinter", "goFaxDivertNumber", "goFaxLanguage", "goFaxFormat", "mail","facsimileTelephoneNumber");
var $uid ="";
plugin::remove_from_parent();
- /* Zero out arrays */
- foreach (array("goFaxRBlocklist", "goFaxRBlockgroups", "goFaxSBlocklist",
- "goFaxSBlockgroups", "facsimileAlternateTelephoneNumber") as $val){
-
- $this->attrs[$val]= array();
- }
-
/* Adapt mail settings if needed */
if ((isset($this->parent->by_object['mailAccount']->is_account)) && ($this->parent->by_object['mailAccount']->is_account)){
unset($this->attrs['mail']);
$this->attrs['goFaxDeliveryMode'] = 0;
}
- /* Do not save mail address ... it was possibly changed by mail plugin*/
- unset($this->attrs['mail']);
+ /* Do not save mail address ... it was possibly changed by mail plugin */
+ /* Adapt mail settings if needed */
+ if ((isset($this->parent->by_object['mailAccount']->is_account)) && ($this->parent->by_object['mailAccount']->is_account)){
+ unset($this->attrs['mail']);
+ }
/* Write back to ldap */
$ldap= $this->config->get_ldap_link();