diff options
author | thomascube <thomas@roundcube.net> | 2008-06-18 06:44:39 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2008-06-18 06:44:39 +0000 |
commit | 1fb78c57ccd93c5fd58c2c42a82824dae738417c (patch) | |
tree | 3aa4e760d99e4205d3f1cf6077442791ca29fe8e /program/include | |
parent | ccd944ea2100e59a71ed39781b2164dc58029ace (diff) |
Revert changes from r994 and make cram-md5 work again (#1484819)
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/rcube_imap.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index 7f3fd9a1b..fb3870b29 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -102,7 +102,7 @@ class rcube_imap * @return boolean TRUE on success, FALSE on failure * @access public */ - function connect($host, $user, $pass, $port=143, $use_ssl=null, $auth_type='check') + function connect($host, $user, $pass, $port=143, $use_ssl=null, $auth_type=null) { global $ICL_SSL, $ICL_PORT, $IMAP_USE_INTERNAL_DATE; @@ -119,7 +119,7 @@ class rcube_imap $ICL_PORT = $port; $IMAP_USE_INTERNAL_DATE = false; - $this->conn = iil_Connect($host, $user, $pass, array('imap' => $auth_type)); + $this->conn = iil_Connect($host, $user, $pass, array('imap' => $auth_type ? $auth_type : 'check')); $this->host = $host; $this->user = $user; $this->pass = $pass; |