program/steps/mail/folders.inc
@@ -39,6 +39,9 @@ // clear mailbox else if ($_action=='purge' && ($mbox = get_input_value('_mbox', RCUBE_INPUT_POST))) { // we should only be purging trash and junk if($mbox == $CONFIG['trash_mbox'] || $mbox == $CONFIG['junk_mbox']) { $success = $IMAP->clear_mailbox($mbox); if ($success && !empty($_REQUEST['_reload'])) @@ -52,6 +55,7 @@ else $commands = "// purged: $success"; } } $OUTPUT->send($commands); ?>