Changeset 1414 in subversion


Ignore:
Timestamp:
May 21, 2008 4:19:26 AM (5 years ago)
Author:
alec
Message:

-commented out optional capability response reading on connect

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/lib/imap.inc

    r1369 r1414  
    481481 
    482482        // RFC3501 [7.1] optional CAPABILITY response 
    483         if (preg_match('/\[CAPABILITY ([^]]+)\]/i', $line, $matches)) { 
    484                 $conn->capability = explode(' ', $matches[1]); 
    485         } else { 
     483        // commented out, because it's not working always as should 
     484//      if (preg_match('/\[CAPABILITY ([^]]+)\]/i', $line, $matches)) { 
     485//              $conn->capability = explode(' ', $matches[1]); 
     486//      } else { 
    486487                fputs($conn->fp, "cp01 CAPABILITY\r\n"); 
    487488                do { 
     
    498499                        } 
    499500                } while ($a[0] != 'cp01'); 
    500         } 
     501//      } 
    501502 
    502503        if (strcasecmp($auth_method, "check") == 0) { 
Note: See TracChangeset for help on using the changeset viewer.