- Fix imap_cache setting to values other than 'db' (#1488060)
| | |
| | | CHANGELOG Roundcube Webmail |
| | | =========================== |
| | | |
| | | - Fix imap_cache setting to values other than 'db' (#1488060) |
| | | - Fix handling of attachments inside message/rfc822 parts (#1488026) |
| | | - Make list of mimetypes that open in preview window configurable (#1487625) |
| | | - Added plugin hook 'message_part_get' for attachment downloads |
| | |
| | | /** |
| | | * Enable or disable indexes caching |
| | | * |
| | | * @param boolean $type Cache type (@see rcmail::get_cache) |
| | | * @param string $type Cache type (@see rcmail::get_cache) |
| | | * @access public |
| | | */ |
| | | function set_caching($type) |
| | | { |
| | | if ($type) { |
| | | $this->caching = true; |
| | | $this->caching = $type; |
| | | } |
| | | else { |
| | | if ($this->cache) |
| | |
| | | { |
| | | if ($this->caching && !$this->cache) { |
| | | $rcmail = rcmail::get_instance(); |
| | | $this->cache = $rcmail->get_cache('IMAP', $type); |
| | | $this->cache = $rcmail->get_cache('IMAP', $this->caching); |
| | | } |
| | | |
| | | return $this->cache; |