summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9b0a736)
raw | patch | inline | side by side (parent: 9b0a736)
author | hzerres <hzerres@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 29 Sep 2010 14:01:45 +0000 (14:01 +0000) | ||
committer | hzerres <hzerres@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 29 Sep 2010 14:01:45 +0000 (14:01 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19852 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 448a5cda7f006239e050a7e3591c273c6426af99..0098901e6f0da8e750ac57bd707f1bdb6848a81f 100644 (file)
// Get rpc handle to fetch account info and feature availability.
$status = $this->rpcExec('gwAcctExists', $this->uid);
+ // mailboxlocations for the dropdownBox
+
if($status !== NULL){
$this->initially_was_account = $this->is_account = $status;
$response = $this->groupwareDao->getComprehensiverUser($this->uid);
$this->mapComprehensiveUserData($response);
}
+ else{
+ $emptyUser["mailLocations"] = $this->rpcExec('gwGetMailboxLocations');
+ $this->mapComprehensiveUserData($emptyUser);
+ }
$this->accountInitialized = TRUE;
}
+
// Set vacation start/stop if not set alreasy
$this->vacationStart = time();
diff --git a/gosa-plugins/groupware/personal/groupware/class_GroupwareDao.inc b/gosa-plugins/groupware/personal/groupware/class_GroupwareDao.inc
index 1c6be18aeb5f9224cc19dc5e68524b151b8c4aa9..6f88b13b26c3bf9ea24f8d3347cf61c170e67cf3 100644 (file)
$resultArr["mailLocations"] = $this->groupwarePluginRef->rpcExec('gwGetMailboxLocations');\r
$resultArr["mailLocation"] = $this->groupwarePluginRef->rpcExec('gwAcctGetLocation',$uid);\r
}\r
-\r
\r
//TODO: getLocation muss ebenfalls geholt werden \r
-\r
// Quota quotaUsage, quotaSize\r
if($this->groupwarePluginRef->isFeatureEnabled("quotaSize") || \r
$this->groupwarePluginRef->isFeatureEnabled("quotaUsage") || \r