Changeset 2ce8e5d in github


Ignore:
Timestamp:
Aug 19, 2011 4:00:09 AM (21 months ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.7, release-0.8
Children:
dd6a47c
Parents:
5850487
Message:
  • Use internal cache for mailbox_info() result
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_imap.php

    r189a0ae r2ce8e5d  
    35143514    function mailbox_info($mailbox) 
    35153515    { 
     3516        if ($this->icache['options'] && $this->icache['options']['name'] == $mailbox) { 
     3517            return $this->icache['options']; 
     3518        } 
     3519 
    35163520        $acl       = $this->get_capability('ACL'); 
    35173521        $namespace = $this->get_namespace(); 
     
    35743578            $options['norename'] = $options['is_root'] || $options['namespace'] != 'personal'; 
    35753579        } 
     3580 
     3581        $this->icache['options'] = $options; 
    35763582 
    35773583        return $options; 
Note: See TracChangeset for help on using the changeset viewer.