From: hickert Date: Mon, 13 Feb 2006 09:41:59 +0000 (+0000) Subject: Added cleanup functionality X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=61df39a73d2ba30c59e4e83cdce4b9ced4ab69e2;p=gosa.git Added cleanup functionality git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2669 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/gofax/faxaccount/class_gofaxAccount.inc b/plugins/gofax/faxaccount/class_gofaxAccount.inc index a8658b2ed..ee1bca3e6 100644 --- a/plugins/gofax/faxaccount/class_gofaxAccount.inc +++ b/plugins/gofax/faxaccount/class_gofaxAccount.inc @@ -39,7 +39,7 @@ class gofaxAccount extends plugin var $current_blocklist= array(); /* attribute list for save action */ - var $attributes= array("goFaxDeliveryMode", "goFaxIsEnabled", + var $attributes= array("goFaxDeliveryMode", "goFaxIsEnabled","goFaxRBlockgroups","facsimileAlternateTelephoneNumber", "goFaxPrinter", "goFaxDivertNumber", "goFaxLanguage", "goFaxFormat", "mail"); var $objectclasses= array("goFaxAccount"); @@ -60,7 +60,7 @@ class gofaxAccount extends plugin /* Get arrays */ foreach (array("goFaxRBlocklist", "goFaxRBlockgroups", "goFaxSBlocklist", "goFaxSBlockgroups", "facsimileAlternateTelephoneNumber") as $val){ - + $this->$val =array(); if (isset($this->attrs["$val"]["count"])){ for ($i= 0; $i<$this->attrs["$val"]["count"]; $i++){ array_push($this->$val, $this->attrs["$val"][$i]);