Changeset ffb0b01 in github


Ignore:
Timestamp:
May 17, 2007 11:18:12 AM (6 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
02342ff
Parents:
0289535
Message:

Always respect 'enable_caching' config param

File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_imap.inc

    rf115416 rffb0b01  
    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.