summaryrefslogtreecommitdiff
path: root/program/include/rcube_imap.php
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/rcube_imap.php')
-rw-r--r--program/include/rcube_imap.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index b1f9132c5..26d0ef48a 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -135,6 +135,8 @@ class rcube_imap
$this->set_rootdir($this->conn->rootdir);
if (empty($this->delimiter))
$this->get_hierarchy_delimiter();
+
+ return true;
}
// write error log
else if ($this->conn->error) {
@@ -144,7 +146,7 @@ class rcube_imap
'message' => $this->conn->error), true, false);
}
- return $this->conn ? true : false;
+ return false;
}