summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 065d9d3)
raw | patch | inline | side by side (parent: 065d9d3)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 Apr 2006 10:48:38 +0000 (10:48 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 Apr 2006 10:48:38 +0000 (10:48 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2976 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/mail/class_mailAccount.inc | patch | blob | history |
diff --git a/plugins/personal/mail/class_mailAccount.inc b/plugins/personal/mail/class_mailAccount.inc
index 5b892e79ca5762e94c947d9c8c83bfbf04da88be..045d4fe84f719e808fff324c2670e985cd027ef0 100644 (file)
$method= new $this->method($this->config);
$id= $method->uattrib;
+
+ /* Adapt attributes if needed */
+ $method->fixAttributesOnLoad($this);
if ($method->connect($this->attrs["gosaMailServer"][0])){
$quota= $method->getQuota($this->folder_prefix.$this->$id);
$this->folder_prefix.$this->$id,
$this->$id);
$method->disconnect();
+ }else{
+ /* Could not connect to ldap.
+ */
+ $this->gosaMailQuota = $this->attrs['gosaMailQuota'][0];
}
-
- /* Adapt attributes if needed */
- $method->fixAttributesOnLoad($this);
}
}