From fb97578cc49ca90ca9ced20a91a2ba2218baebe0 Mon Sep 17 00:00:00 2001 From: hzerres Date: Tue, 14 Sep 2010 06:51:15 +0000 Subject: [PATCH] added quota call for the missing features... json error - will fix the tests first. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19653 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../personal/groupware/class_groupware.inc | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/groupware/personal/groupware/class_groupware.inc b/gosa-plugins/groupware/personal/groupware/class_groupware.inc index 9a2f840d8..86565c7ad 100644 --- a/gosa-plugins/groupware/personal/groupware/class_groupware.inc +++ b/gosa-plugins/groupware/personal/groupware/class_groupware.inc @@ -1069,9 +1069,27 @@ class groupware_dao{ $addresses = $this->groupwarePluginRef->rpcExec('gwGetMailboxLocations'); $resultArr["mailLocations"] = $addresses; - $this->debug("gwGetMailboxLocations", $addresses); } - + /* + * TODO: + * getLocation muss ebenfalls geholt werden + */ + + //Quota quotaUsage, quotaSize + if($this->groupwarePluginRef->isFeatureEnabled("quotaSize") || + $this->groupwarePluginRef->isFeatureEnabled("quotaUsage") || + $this->groupwarePluginRef->isFeatureEnabled("mailBoxWarnLimit") || + $this->groupwarePluginRef->isFeatureEnabled("mailBoxSendSizelimit") || + $this->groupwarePluginRef->isFeatureEnabled("mailBoxHardSizelimit")){ + + $quota = $this->get("quotaSize", array($uid)); + + $this->debug("QUOTA...", $quota); + } + + /* + * mailBoxWarnLimit,mailBoxSendSizelimit, mailBoxHardSizelimit + */ /* * this function seems to be broken on the server. -- 2.30.2