summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8281802)
raw | patch | inline | side by side (parent: 8281802)
author | hzerres <hzerres@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 15 Oct 2010 13:42:09 +0000 (13:42 +0000) | ||
committer | hzerres <hzerres@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 15 Oct 2010 13:42:09 +0000 (13:42 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20063 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/groupware/personal/groupware/class_Groupware.inc | patch | blob | history | |
gosa-plugins/groupware/personal/groupware/class_GroupwareDao.inc | patch | blob | history |
diff --git a/gosa-plugins/groupware/personal/groupware/class_Groupware.inc b/gosa-plugins/groupware/personal/groupware/class_Groupware.inc
index e67535794d6c2e6c7b1ac6b4d7fd51f3ef86b9dd..1fb44939b5eb1c2fde63fc092803bd334d4b8897 100644 (file)
$featureReq = array(
"primaryMail" => array(
'acctGetPrimaryMailAddress'),
- "quotaUsage" => array(
+ "quotaUsage" => array("_off",
'acctGetQuota'),
- "quotaSize" => array(
+ "quotaSize" => array("_off",
'acctSetQuota','acctGetQuota'),
"mailLocations" => array(
'getMailboxLocations'),
'acctGetMailForwardAddresses','acctSetMailForwardAddresses'),
"vacationMessage" => array("_off",
'acctDelFilter','acctGetFilters','acctSetFilters','acctSetFilters'),
- "mailBoxWarnLimit" => array(
+ "mailBoxWarnLimit" => array("_off",
'acctSetQuota','acctGetQuota'),
- "mailBoxSendSizelimit" => array(
+ "mailBoxSendSizelimit" => array("_off",
'acctSetQuota','acctGetQuota'),
- "mailBoxHardSizelimit" => array(
+ "mailBoxHardSizelimit" => array("_off",
'acctSetQuota','acctGetQuota'),
"mailBoxAutomaticRemoval" => array("_off",
'acctSetQuota','acctGetQuota'),
*/
function delForwarder($addresses)
{
- print_a(array("Del forwarder"));
+
if($this->acl_is_writeable("forwardingAddresses")){
$this->forwardingAddresses= array_remove_entries ($addresses, $this->forwardingAddresses);
$this->is_modified= TRUE;
diff --git a/gosa-plugins/groupware/personal/groupware/class_GroupwareDao.inc b/gosa-plugins/groupware/personal/groupware/class_GroupwareDao.inc
index 5b080a1bcf22ba263c0fac44cf5539bbc3e23bf3..2772b6e9d2ef3a2c6385c424a4db9514f6028133 100644 (file)
// Usage is a Mapi function which is not yet
// TODO: Remove the following dummy and enable the qota fetch from groupware
-
- //echo "Quota function not yet implemented on server side!!";
- //$quota = $this->get("quotaSize", array($uid));
+ $quota = $this->get("quotaSize", array($uid));
$quota = array( "warn_limit" => 1008,
"send_limit" => 108,
"hard_limit" => 1108,
$resultArr["mailBoxHardSizelimitEnabled"] = FALSE;
$resultArr["mailBoxHardSizelimitValue"] = 0;
}
+
}
//this function seems to be broken on the server.
$this->delete("mailFolder", $id, $key);
break;
}
- print_a($val);
}
$this->save("private_folderACLS", $id, $val["acls"]);
//otherwise nothing happened with the entry - no action should be performed.