On Jan 8, 2008 5:27 PM, Micha micha@bnet.at wrote:
Looks good.
I think the problem was, that at the point where $mbox had been assigned via get_input_value, the current POST-Reuqest already had "INBOX" as destination mailbox (because of the periodic mail-check). So when $mbox is assigned in the if-statement, the variable-scope prevents it from being change till the clear_mailbox command.
I cannot imagine that one request can alter POST-parameters of another request. Those are two separate processes and the purge step does not rely on session variables either. Also the check-for-recent request should not be sent while the client is locked (set as busy) which is done when submitting the purge command.
However, I applied the patch of Jason just to be sure.
Thanks! Thomas _______________________________________________ List info: http://lists.roundcube.net/dev/