summaryrefslogtreecommitdiff
path: root/program/include/rcube_imap.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-10-25 09:11:49 +0000
committeralecpl <alec@alec.pl>2010-10-25 09:11:49 +0000
commit2b42838427c887c8704afd033e5f17172216f82f (patch)
tree236429cd8934e9d93df971ae6d63fe2b2a5c6b0e /program/include/rcube_imap.php
parentfc7a41f75e7a3c8b0b3b8ada633172daa6a67931 (diff)
- Simplify some code, add some comments
Diffstat (limited to 'program/include/rcube_imap.php')
-rw-r--r--program/include/rcube_imap.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index 4bf7cac88..7fbff37f1 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -163,8 +163,9 @@ class rcube_imap
}
// get server properties
- if (!empty($this->conn->rootdir))
- $this->set_rootdir($this->conn->rootdir);
+ $rootdir = $this->conn->getRootDir();
+ if (!empty($rootdir))
+ $this->set_rootdir($rootdir);
if (empty($this->delimiter))
$this->get_hierarchy_delimiter();