diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-10-25 09:11:49 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-10-25 09:11:49 +0000 |
| commit | 05ccc64ad13fc927036356ca2b6c20097d6f949a (patch) | |
| tree | 52ab43647ba4431657d19abf1a71696a96129f0d /roundcubemail/program/include/rcube_imap.php | |
| parent | d24afa73bf033ef47fc630aaa43d77421f57c0d3 (diff) | |
- Simplify some code, add some comments
git-svn-id: https://svn.roundcube.net/trunk@4130 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_imap.php')
| -rw-r--r-- | roundcubemail/program/include/rcube_imap.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/roundcubemail/program/include/rcube_imap.php b/roundcubemail/program/include/rcube_imap.php index 4bf7cac88..7fbff37f1 100644 --- a/roundcubemail/program/include/rcube_imap.php +++ b/roundcubemail/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(); |
