summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-03-22 19:19:50 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-03-22 19:19:50 +0000
commit5fdbd5e1bd181989e77fbaa1c887f1ab6e53d956 (patch)
tree7fb6d2b0dc22028099e79519e67248ad9656b1c5
parentd7895fce71b6d0b1385b12804d00ed7e47065b27 (diff)
Always return the correct connection state
git-svn-id: https://svn.roundcube.net/trunk@6030 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/include/rcmail.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/roundcubemail/program/include/rcmail.php b/roundcubemail/program/include/rcmail.php
index 6320e5e3f..a86729156 100644
--- a/roundcubemail/program/include/rcmail.php
+++ b/roundcubemail/program/include/rcmail.php
@@ -728,11 +728,10 @@ class rcmail
}
else {
$this->set_storage_prop();
- return $storage->is_connected();
}
}
- return false;
+ return $storage->is_connected();
}