- Reverted r3725 change

release-0.6
alecpl 14 years ago
parent af3cf8a0a7
commit 2653fe169f

@ -645,7 +645,6 @@ class rcube_imap_generic
// RFC3501 [7.1] optional CAPABILITY response
if (preg_match('/\[CAPABILITY ([^]]+)\]/i', $line, $matches)) {
$this->capability = explode(' ', strtoupper($matches[1]));
$this->capability_readed = true;
}
$this->message .= $line;
@ -710,7 +709,7 @@ class rcube_imap_generic
// do plain text auth
$result = $this->login($user, $password);
}
write_log('imap', '----------');
if (is_resource($result)) {
if ($this->prefs['force_caps']) {
$this->clearCapability();

Loading…
Cancel
Save