diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2012-10-18 12:13:56 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2012-10-18 12:13:56 +0200 |
commit | 7ea292410644af4b6eaa772a8f71855783ade0ae (patch) | |
tree | 5eb9a1672cdb81ee388df579f8f423dfb4911ae1 /program/include/rcmail.php | |
parent | 1f369223c008a363e97a767ce07b955d1d8319ab (diff) |
Don't display session error message if imap connection failed
Diffstat (limited to 'program/include/rcmail.php')
-rw-r--r-- | program/include/rcmail.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php index ee144faca..3b6c6cf15 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -2112,8 +2112,7 @@ class rcmail extends rcube if (!$storage->connect($host, $user, $pass, $port, $ssl)) { if (is_object($this->output)) { - $error = $storage->get_error_code() == -1 ? 'storageerror' : 'sessionerror'; - $this->output->show_message($error, 'error'); + $this->output->show_message('storageerror', 'error'); } } else { |