mirror of
https://bitbucket.org/jsuto/piler.git
synced 2026-10-01 13:00:20 +02:00
major rewrite of the web interface
This commit is contained in:
1 parent
e3bd0b987a
commit
853c4ab4f1
88 files changed
+1707
-3839
No files matched your search
@@ -14,8 +14,10 @@ class ModelMessageRestore extends Model {
|
||||
if($zip->open($filename, ZIPARCHIVE::CREATE) != true) { exit("cannot open <$filename>\n"); }
|
||||
|
||||
foreach($idlist as $id) {
|
||||
$rawemail = $this->model_search_message->get_raw_message($id);
|
||||
$zip->addFromString($id . ".eml", $rawemail);
|
||||
$piler_id = $this->model_search_message->get_piler_id_by_id($id);
|
||||
|
||||
$rawemail = $this->model_search_message->get_raw_message($piler_id);
|
||||
$zip->addFromString($piler_id . ".eml", $rawemail);
|
||||
|
||||
AUDIT(ACTION_DOWNLOAD_MESSAGE, '', '', $id, '');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user