Anes Mukhametov wrote:
> Thanks. But why "+ if ($rcmail->task == 'mail' && ($rcmail->action == '' 
> || $rcmail->action == 'show') && $rcmail->config->get('junk_mbox')) {"
> 
> string not applied?
> Is it wrong?

$rcmail->task == 'mail'
this is not needed while we have markasjunk::task set.

> I thought that mbox have to exist to move messages into it:)

There's a check in request_action(). Moving messages is only a part of 
plugin's job. I think some implementations doesn't require messages 
moving for learning, only setting a flag. Also why we couldn't set flag 
if junk folder not exists?

-- 
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Project Developer http://roundcube.net
_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to