From a3f94fcbc51e814f5bfac7084e8ce875c8e2eed5 Mon Sep 17 00:00:00 2001 From: hzerres Date: Tue, 14 Sep 2010 07:54:58 +0000 Subject: [PATCH] fixed acctGetLocation removed debugs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19657 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../personal/groupware/class_groupware.inc | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/gosa-plugins/groupware/personal/groupware/class_groupware.inc b/gosa-plugins/groupware/personal/groupware/class_groupware.inc index 49930b5e8..e6ffd30ab 100644 --- a/gosa-plugins/groupware/personal/groupware/class_groupware.inc +++ b/gosa-plugins/groupware/personal/groupware/class_groupware.inc @@ -729,14 +729,25 @@ class groupware extends plugin } /* - * + * save alternateAddresses and forwarding. */ - if(isset($this->forwardingAddresses) && is_array($this->forwardingAddresses)){ + if(isset($this->alternateAddresses) && is_array($this->alternateAddresses)){ $this->groupwareDao->save("alternateAddresses", $this->uid, $this->alternateAddresses); } if(isset($this->forwardingAddresses) && is_array($this->forwardingAddresses)){ $this->groupwareDao->save("forwardingAddresses", $this->uid, $this->forwardingAddresses); } + /* + * save the quota + */ + if(true){ + $quota = array( "warn_limit" => $this->mailBoxWarnLimitValue, + "send_limit" => $this->mailBoxSendSizelimitValue, + "hard_limit" => $this->mailBoxHardSizelimitValue, + "hold" => $this->quotaSize, + "usage" => $this->quotaUsage); + $this->groupwareDao->save("quotaSize", $this->uid, $quota); + } } @@ -1067,7 +1078,7 @@ class groupware_dao{ if($this->groupwarePluginRef->isFeatureEnabled("mailLocations")){ $resultArr["mailLocations"] = $this->groupwarePluginRef->rpcExec('gwGetMailboxLocations'); - $resultArr["mailLocation"] = $this->rpcExec('gwAcctGetLocation',$this->uid); + $resultArr["mailLocation"] = $this->groupwarePluginRef->rpcExec(array('gwAcctGetLocation',$uid)); } /* -- 2.30.2