[dev] Folder::getDelimiter()

Jan Schneider jan@horde.org
Tue, 7 May 2002 00:16:04 +0200


Zitat von Nuno Loureiro <nuno@co.eth.pt>:

> Folder::getDelimiter() calls the php function imap_getmailboxes() with
> the last argument empty (pattern). According to php manual: "pattern
> specifies where in the mailbox hierarchy to start searching. If you want
> all mailboxes, pass '*' for pattern.". Because this function is used to
> get the delimiter, I think % as the pattern would be fine ('%' as the
> pattern parameter will return only the top level mailboxes;). 
> 
> I just think we should set this third parameter to something. I found
> this because it gave me an error with my setup (not an usual setup with
> a common imap server so it doesn't matter here). If you agree with this
> small change here's the respective patch.

It worked for me here, so I committed it. We'll keep it in HEAD for a while to 
see if it causes problems for anyone.

Jan.



-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/