[Tickets #5387] Re: Empty mailbox doesn't

bugs at horde.org bugs at horde.org
Wed Mar 19 14:27:20 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/5387
-----------------------------------------------------------------------
 Ticket             | 5387
 Updated By         | liamr at umich.edu
 Summary            | Empty mailbox doesn't
 Queue              | IMP
 Version            | HEAD
 Type               | Bug
 State              | Feedback
 Priority           | 2. Medium
 Milestone          | 4.2
 Patch              | 
 Owners             | Horde Developers, Michael Slusarz, Chuck Hagenbuch
-----------------------------------------------------------------------


liamr at umich.edu (2008-03-19 10:27) wrote:

Actually, I spoke to soon.

It's still broken if a user has a use_trash preference, if use_trash is
turned off (e.g. when someone has tried "use_trash" and then decided they
didn't like it and turned it off...)

| liamr    | imp        | use_trash | 0          |

I'm guessing that "use_trash" set to 0 breaks the empy($trash_folder)
check in the patch..

+                $trash_folder =
($GLOBALS['prefs']->getValue('use_trash')) ?
IMP::folderPref($GLOBALS['prefs']->getValue('trash_folder'), true) : null;
+                if (empty($trash_folder) || ($trash_folder == $mbox)) {






More information about the bugs mailing list