roundcubemail/program/lib/Roundcube/rcube_imap.php
public function set_caching($type)
    {
        if ($type) {
            $this->caching = $type;
        }
        else {
            if ($this->cache) {
                $this->cache->close();
            }
            $this->cache   = null;
            $this->caching = false;
        }
    }
public function set_caching($type)
    {
        if ($type) {
            $this->caching = $type;
        }
        else {
            if ($this->cache) {
                $this->cache->close();
            }
            $this->cache   = null;
            $this->caching = false;
        }
    }
public function set_caching ( $ type ) { if ( $ type ) { $ this -> caching = $ type ; } else { if ( $ this -> cache ) { $ this -> cache -> close ( ) ; } $ this -> cache = null ; $ this -> caching = false ; } }
Enable or disable indexes caching

@param string $type Cache type (@see rcube::get_cache)
Enable or disable indexes caching