[patch] rcube_imap.inc (expunging mails from trash folder)

Niels Ganser roundcube.list at depoll.de
Thu Nov 24 23:35:06 CET 2005


Dear list,

attached is a patch which changes the whopping amount of one (!) lines in 
rcube_imap.inc. Without the patch messages don't get permanently deleted 
when trying to do that from inside the Trash folder as the expunge 
function adds an INBOX. before the mailbox name. So passing INBOX.Trash 
as a parameter is a bad idea :-)

Btw, it took me more than one hour to patch this as the total amount of 
documentation in the code is somewhere between -5 and 0 lines. Roundcube 
is a promising piece of software but without enough people helping out 
it'll most likely stay in alpha/beta forever. So may I suggest inserting 
a minimal amount of documentation? At least some kind of header above 
every function telling us what exactly it does and from where it usually 
is called.

I'd very much like to become a contributor since I have lots of 
experience with PHP and miss some features such as a decent search. But 
unfortunately I'm not a clairvoyant so pleeeease more documentation.

I guess I've made my point now so have fun with the patch ;)

Best regards,
Niels.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rcube_imap.inc.patch
Type: text/x-diff
Size: 363 bytes
Desc: not available
URL: <http://lists.roundcube.net/pipermail/dev/attachments/20051124/9a34ce59/attachment.bin>


More information about the Dev mailing list