Changeset 561 in subversion


Ignore:
Timestamp:
May 17, 2007 11:18:12 AM (6 years ago)
Author:
thomasb
Message:

Always respect 'enable_caching' config param

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcube_imap.inc

    r543 r561  
    20002000     
    20012001    // empty key -> empty array 
    2002     if (empty($key)) 
     2002    if (!$this->caching_enabled || empty($key)) 
    20032003      return array(); 
    20042004     
     
    20252025  function add_message_cache($key, $index, $headers, $struct=null) 
    20262026    { 
    2027     if (empty($key) || !is_object($headers) || empty($headers->uid)) 
     2027    if (!$this->caching_enabled || empty($key) || !is_object($headers) || empty($headers->uid)) 
    20282028      return; 
    20292029       
Note: See TracChangeset for help on using the changeset viewer.