alecpl
2010-06-09 2653fe169f781f2736c0f8fd18a7f1806b7c71d9
program/include/rcube_imap_generic.php
@@ -645,7 +645,6 @@
       // 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 @@
          // do plain text auth
          $result = $this->login($user, $password);
       }
write_log('imap', '----------');
       if (is_resource($result)) {
            if ($this->prefs['force_caps']) {
             $this->clearCapability();