Revert "gui: fixing journal handling"

This reverts commit 1b7026dce6.
This commit is contained in:
Janos SUTO
2018-12-23 19:50:14 +00:00
parent 1412a77fee
commit a5f005769f
7 changed files with 56 additions and 44 deletions

View File

@ -72,8 +72,7 @@ class ControllerMessageRestore extends Controller {
$msg = $this->model_search_message->get_raw_message($this->data['piler_id']);
Piler_Mime_Decode::splitMessage($msg, $headers, $journal, $body);
$msg = $headers . $body;
$this->model_search_message->remove_journal($msg);
if(RESTORE_OVER_IMAP == 1) {
if($this->model_mail_mail->connect_imap()) {