summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 50fbab8)
raw | patch | inline | side by side (parent: 50fbab8)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 May 2010 07:42:00 +0000 (07:42 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 May 2010 07:42:00 +0000 (07:42 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18328 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/mail/personal/mail/class_mail-methods-cyrus.inc | patch | blob | history |
diff --git a/gosa-plugins/mail/personal/mail/class_mail-methods-cyrus.inc b/gosa-plugins/mail/personal/mail/class_mail-methods-cyrus.inc
index e5cb042379842ef7bcb923b33e40a52d68476047..23e61cc9cf9c56a762e2030bb8047f0a7efd1087 100644 (file)
/* Setting connect timeout to 10 seconds,
else the GOsa UI may freeze for 60 seconds.
(PHP default is 'default_socket_timeout = 60') */
- $timeout = $this->config->get_cfg_value("core","imapTimeout",10);
+ $timeout = $this->config->get_cfg_value("core","imapTimeout");
@DEBUG (DEBUG_MAIL, __LINE__, __FUNCTION__, __FILE__,$timeout,
"<b>IMAP: Setting imap connect timeout to</b> (seconds)");
imap_timeout(1, $timeout);
}
/* Autocreate configured default folders */
- $folders= $this->config->get_cfg_value("core","cyrusAutocreateFolders", null);
+ $folders= $this->config->get_cfg_value("mailAccount","cyrusAutocreateFolders");
if ($folders) {
$foldersToCreate= explode(",", $folders);
$cyrus_delim= $this->cyrusUseSlashes?"/":".";
$cfg= $this->ServerList[$this->MailServer];
@imap_setacl ($this->imap_handle, $this->account_id, $cfg["admin"], "lrswipcda");
- if ($this->config->get_cfg_value("core","cyrusDeleteMailbox", "true") == "true"){
+ if ($this->config->boolValueIsTrue("mailAccount","cyrusDeleteMailbox")){
if (!imap_deletemailbox($this->imap_handle, $cfg["connect"].$this->account_id)){
$this->error = imap_last_error();
return (FALSE);