summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-03-22 19:19:50 +0000
committerthomascube <thomas@roundcube.net>2012-03-22 19:19:50 +0000
commitb8ea16017804e20997cd29fa3b9cc4c1b91d9e8a (patch)
tree121df311b232cd16b116061dc2a622df2e276a1f /program/include
parent0223094701d3734f94e3b5a21d106756cf4fcece (diff)
Always return the correct connection state
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcmail.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index 6320e5e3f..a86729156 100644
--- a/program/include/rcmail.php
+++ b/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();
}