summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9f3cd96)
raw | patch | inline | side by side (parent: 9f3cd96)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 12 Oct 2010 13:48:18 +0000 (13:48 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 12 Oct 2010 13:48:18 +0000 (13:48 +0000) |
-Mechanism wasn't correct, if dn is 'new' do not check for account existence...
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20003 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20003 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 a70e730e0569486a035fffe268594ffe59f9c430..69c1e2bbc89e63abe131d25d9916d3a1d5d796b5 100644 (file)
// If this is a new user, then do not try to check account status
// the account cannot exists.
+ $this->mailLocations = $this->groupwareDao->get('mailLocations', array());
if($this->dn == "new"){
$this->initially_was_account = $this->is_account = FALSE;
+ $this->accountInitialized = TRUE;
}else{
// Get rpc handle to fetch account info and feature availability.
if($this->is_account){
$response = $this->groupwareDao->getComprehensiverUser($this->uid);
$this->mapComprehensiveUserData($response);
- }else{
- $emptyUser["mailLocations"] = $this->rpcExec('gwGetMailboxLocations');
- $this->mapComprehensiveUserData($emptyUser);
}
$this->accountInitialized = TRUE;
}
diff --git a/gosa-plugins/groupware/personal/groupware/class_GroupwareDao.inc b/gosa-plugins/groupware/personal/groupware/class_GroupwareDao.inc
index f7ad60711af1d10d01228ff8fb479988b91ac399..858fe71ad734926cbc4ca72664cdedb6c048a2cc 100644 (file)
<?php
+
/*! \brief Data Access Object for groupwares
*/
//This is a feature with many datasets inside which should be cut in slices and saved separately.
//Since the knowledge about the feature is only known in the plugin this has got to be moved.
- function saveFoldersAndAcls($id, $mailFolder){
- echo "Hape";
+ function saveFoldersAndAcls($id, $mailFolder)
+ {
/*
'user/wiwu/Aufgaben' => array(
"name" =>"Aufgaben",