From 2b42838427c887c8704afd033e5f17172216f82f Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Mon, 25 Oct 2010 05:11:49 -0400 Subject: [PATCH] - Simplify some code, add some comments --- program/include/rcube_imap.php | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index 4bf7cac..7fbff37 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -163,8 +163,9 @@ } // 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(); -- Gitblit v1.9.1