Archive: Create archive folder automatically if it's configured, but does not exist (#6076)

pull/6256/head
Aleksander Machniak 7 years ago
parent 1eaeb9e686
commit 2faf7185db

@ -52,6 +52,7 @@ CHANGELOG Roundcube Webmail
- Archive: Fix archiving by sender address on cyrus-imap
- Archive: Style Archive folder also on folder selector and folder manager lists
- Archive: Add Thunderbird compatible Month option (#5623)
- Archive: Create archive folder automatically if it's configured, but does not exist (#6076)
- Return "401 Unauthorized" status when login fails (#5663)
- Support both comma and semicolon as recipient separator, drop recipients_separator option (#5092)
- Plugin API: Added 'show_bytes' hook (#5001)

@ -162,11 +162,11 @@ class archive extends rcube_plugin
if ($archive_type == 'folder') {
// compose full folder path
$folder .= $delimiter . $mbox;
// create archive subfolder if it doesn't yet exist
$this->subfolder_worker($folder);
}
// create archive subfolder if it doesn't yet exist
$this->subfolder_worker($folder);
$count += $this->move_messages_worker($uids, $mbox, $folder, $read_on_move);
}
else {

Loading…
Cancel
Save