summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0ab8e2f)
raw | patch | inline | side by side (parent: 0ab8e2f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 18 Nov 2010 14:13:09 +0000 (14:13 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 18 Nov 2010 14:13:09 +0000 (14:13 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20272 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/groupware/personal/groupware/class_Groupware.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 0db7a70f0d2c6522e6a0213f13dfb670155bb261..fc3a8b7fcc5eedd4e70871c13ca8d375f8b948fb 100644 (file)
// Load mail folder entries on demand, this will increase the account
// instantiation a lot.
if($this->mailFolder === NULL){
- $this->mailFolder = $this->GroupwareDao->getListOfMailFolders();
+ $this->mailFolder = array();
+ if($this->initially_was_account){
+ $this->mailFolder = $this->GroupwareDao->getListOfMailFolders();
+ }
}
$folders = $this->mailFolder;
{
// Get rpc handle to create or update the account
if(!$this->initially_was_account){
- $res = $this->rpcExec('gwAcctdAdd', $this->uid, $this->mailAddress);
+ $res = $this->rpcExec('gwAcctAdd', $this->uid, $this->mailAddress);
if($res === NULL){
$message = _("Groupware account creation failed!");
msg_dialog::display(_("Error"),$message."<br>".sprintf(_("Error was: '%s'."),$this->rpcErrorMessage),ERROR_DIALOG);